Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.18 |
|
22-Oct-2013 |
guenther |
- add UNIX-domain socket info to struct kinfo_file2 - 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@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.17 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.16 |
|
07-Jan-2012 |
guenther |
Add rtable id and thread id to struct kinfo_proc (and fix process id) and add an 'rtableid' keyword to ps.
Add rtable id, thread id, and socket splice info to struct kinfo_file2 and make fstat display socket splice information.
Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major
Socket splice info and corrections from bluhm@ "Lovely" deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.15 |
|
12-Mar-2011 |
guenther |
Replace the old, broken KERN_PROC ABI and its matching functions 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
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.14 |
|
07-Jun-2009 |
millert |
Add kvm_getfile2 which uses KERN_FILE2 when possible, falling back on kmem grovelling for non-live kernels. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
kvm_openfiles() should take int flag, not unsigned
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
|
#
1.12 |
|
14-Sep-2004 |
deraadt |
KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned int instead of int; millert ok
|
Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
|
#
1.11 |
|
22-Jan-2004 |
espie |
Remove unnecessary typedef usage.
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int
okay millert@
|
#
1.10 |
|
07-Jan-2004 |
millert |
Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that use the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl().
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.9 |
|
01-Aug-2003 |
avsm |
add __bounded__ attributes for userland headers; enabled with -Wbounded ok deraadt@
|
#
1.8 |
|
26-Jun-2003 |
avsm |
backout the __bounded__ attributes for a while; requested by deraadt@
|
#
1.7 |
|
26-Jun-2003 |
avsm |
Mark various standard library functions with the __bounded__ attribute. You must have an up-to-date gcc for this! deraadt@ ok
|
#
1.6 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.5 |
|
08-Jun-2002 |
art |
Add a flag - KVM_NO_FILES which tells kvm_openfiles to not open any files, just return an kvm handle that we can use to some of the functions.
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.4 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.3 |
|
21-Sep-1997 |
niklas |
Well, as we are heading for a release people are encouraged to rebuild their entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.2 |
|
01-May-1996 |
deraadt |
from netbsd: Add kvm_dump* prototypes
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|