| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
1. Most notable: this splits argv buffer into argv-specific one
and environ-specific one. This makes ps -eww totally happy.
2. realloc() usage in kvm_argv() is now ENOMEM-prone.
3. The "int off" changed to "ptrdiff_t off", as it should be.
input & okay deraadt@, millert@
|
|
|
|
|
|
| |
Use hidden aliases for internal invocations of exported symbols to avoid PLT.
ok deraadt@ kettenis@ jca@
|
|
|
|
|
| |
part of a larger diff
ok millert@ guenther@
|
|
|
|
| |
ok guenther
|
|
|
|
|
|
|
| |
albeit ones no one should be using, so major bump the shlib.
ok kettenis@
ports testing by landry@
|
| |
|
|
|
|
|
|
|
|
| |
declarations, including _kvm_getftype(), into a new header, kvm_file.h,
so that we don't have to pull <sys/vnode.h> into all the .c files. No
more extern function declaration in .c files.
ok millert@
|
|
|
|
|
|
|
| |
Treat failure to KREAD teh pcredd or ucreds to be errors insteading of
continuing with bogus data.
ok deraadt@ millert@
|
|
|
|
|
|
|
|
|
|
| |
- convert netstat from kvm_getfiles() to kvm_getfile2() using that
- delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major)
- rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file
and KERN_FILE2 to KERN_FILE.
ok deraadt@, millert@
ports scan sthen@
|
|
|
|
|
|
|
|
|
| |
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols
will continue to be supported for a few releases.
Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions
|
|
|
|
|
|
| |
it's unused inside libkvm, and nothing else is allowed to use it.
ok guenther@ "sure" deraadt@
|
|
|
|
| |
adapted from NetBSD fstat. OK deraadt@
|
| |
|
|
|
|
| |
with ufs and add also udf support. OK miod@
|
|
|
|
| |
back on kmem grovelling for non-live kernels. OK deraadt@
|
|
|
|
| |
with sprinkling in size_t!
|
| |
|
|
|
|
|
| |
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our
own kvm_arg_sysctl().
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
| |
open any files, just return an kvm handle that we can use to some
of the functions.
|
| |
|
|
|
|
| |
from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>.
|
| |
|
| |
|
| |
|
|
|