History log of /openbsd/include/kvm.h (Results 1 – 18 of 18)
Revision Date Author Comments
# cef0bbe1 22-Oct-2013 guenther <guenther@openbsd.org>

- 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)
-

- 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@

show more ...


# 4a39ccd0 05-Dec-2012 deraadt <deraadt@openbsd.org>

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


# a60854cd 07-Jan-2012 guenther <guenther@openbsd.org>

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 displ

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@

show more ...


# 09431e5c 12-Mar-2011 guenther <guenther@openbsd.org>

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

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

show more ...


# 9dc8fca8 07-Jun-2009 millert <millert@openbsd.org>

Add kvm_getfile2 which uses KERN_FILE2 when possible, falling
back on kmem grovelling for non-live kernels. OK deraadt@


# 4d25048f 31-Mar-2006 deraadt <deraadt@openbsd.org>

kvm_openfiles() should take int flag, not unsigned


# ec99a482 14-Sep-2004 deraadt <deraadt@openbsd.org>

KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned
int instead of int; millert ok


# d1f942ab 22-Jan-2004 espie <espie@openbsd.org>

Remove unnecessary typedef usage.

u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int

okay millert@


# 3c298e91 07-Jan-2004 millert <millert@openbsd.org>

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().


# 89b95c1c 01-Aug-2003 avsm <avsm@openbsd.org>

add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@


# 3e87668a 26-Jun-2003 avsm <avsm@openbsd.org>

backout the __bounded__ attributes for a while; requested by deraadt@


# 585be00b 26-Jun-2003 avsm <avsm@openbsd.org>

Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok


# e33d3bd3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 2d420eaf 08-Jun-2002 art <art@openbsd.org>

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.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

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 don

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.

show more ...


# 5ea2d675 21-Sep-1997 niklas <niklas@openbsd.org>

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.


# 94e34ef1 01-May-1996 deraadt <deraadt@openbsd.org>

from netbsd: Add kvm_dump* prototypes


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree