| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enable us to use /dev/fwmem* as a core file.
e.g.
ps -M /dev/fwmem0.0 -N kernel.debug
dmesg -M /dev/fwmem0.0 -N kernel.debug
gdb -k -c /dev/fwmem0.0 kernel.debug
You need to set target EUI64 in hw.firewire.fwmem.eui64_hi/lo before
opening the device. On the target arch, (PCI) bus address must be
equivalent to physical address.
(We cannot use this for sparc64 because of IOMMU.)
No objection in: -audit
|
|
|
|
|
| |
These were probably not cleaned up back in whatever murky past these
files were split into separate files.
|
|
|
|
|
| |
Applications can not do this themselves, as the descriptors are hidden
behind the opaque `kvm_t' type.
|
|
|
|
| |
Submitted by: keramida
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
argument to kvm_open() and kvm_openfiles() as unused.
BSD didn't read swap since kvm.c CSRG revision 5.21 (u-area is pageable
under new VM. no need to read from swap.)
The old !NEWVM code was removed in CSRG revision 5.23 (~ten years ago).
|
| |
|
| |
|
| |
|
|
|
|
| |
This is the documented size which the user-provided buffer must be.
|
|
|
|
|
|
|
|
| |
match the documented interface.
Previously it returned 0 on error.
PR: bin/10511
|
| |
|
|
|
|
|
|
| |
and is module aware. Yes, this means that kvm_nlist(3) will find symbols
in loaded modules. The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.
|
|
|
|
|
| |
/dev/drum but has not been used for a LONG time.
Add $FreeBSD$
|
|
|
|
|
|
| |
for over 5 years since we switched to using procfs for kvm_uread().
This cleanup was motivated by recent breakage of the default swap file
(/dev/drum) when swapon() has not been called.
|
|
|
|
|
|
|
| |
know what they're doing if they do that. This will allow ps to use
the kvm_proc.c bits without having access to /dev/mem.
Fix kvm_proc.c to not need /dev/mem for access to argv/envp
|
|
|
|
|
|
|
| |
When malloc fails. don't try to memset NULL pointer, it cause core dump
Replace malloc+memset with calloc, theoretically it can do some
optimization of zeroing process internally
Improve error diagnostic
|
|
|
|
| |
malloc squashed...
|
| |
|
|
|
|
| |
kvm_open() if errstr is NULL.
|
| |
|
|
|
|
|
|
|
| |
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
|
| |
|
|
|