| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
| |
|
|
|