summaryrefslogtreecommitdiffstats
path: root/share/man/man6
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2010-01-10 03:37:50 +0000
committerguenther <guenther@openbsd.org>2010-01-10 03:37:50 +0000
commit72596c46697f0ef984647282575f10aa7d92744a (patch)
treefcf74cb1793a725532f07ede1b0337d170afcf1e /share/man/man6
parentMy mistake. There was one more driver paranoid enough to check (diff)
downloadwireguard-openbsd-72596c46697f0ef984647282575f10aa7d92744a.tar.xz
wireguard-openbsd-72596c46697f0ef984647282575f10aa7d92744a.zip
Reimplement kvm_getproc2()'s support for reading crash dumps and
/dev/mem to be direct instead of going through kvm_getprocs(), as that function is going to get more an more broken as we move stuff from struct proc to struct process for rthreads. To minimize the code copying, put the common logic of filling in a kinfo_proc2 structure into a macro FILL_KPROC2() in <sys/sysctl.h> for use from both the kernel and user-space. This also hides the KERN_PROC #define behind "#if defined(_KERNEL)||defined(_LIBKVM)", as it's deprecated. Positive feedback from millert and blambert; so committing to unblock further rthreads work.
Diffstat (limited to 'share/man/man6')
0 files changed, 0 insertions, 0 deletions