diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-11-19 18:04:55 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-11-19 18:04:55 +0000 |
commit | 88beef7ea4e4baaf3cf9672e7f6adc225e131539 (patch) | |
tree | 09a71e13a941bce7780b9594c61813a4b4e7af64 /sbin | |
parent | cc18612840297ffb19f218268a548be454422c77 (diff) |
delete the KERN_VNODE sysctl. it fails to provide any isolation from the
kernel struct vnode defintion, and the only consumer (pstat) still needs
kvm to read much of the required information. no great loss to always use
kvm until there's a better replacement interface.
ok deraadt millert uebayasi
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/sysctl/sysctl.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index d5836a66612..0616c788217 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.206 2014/10/26 03:45:29 brad Exp $ */ +/* $OpenBSD: sysctl.c,v 1.207 2014/11/19 18:04:54 tedu Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -388,11 +388,6 @@ parse(char *string, int flags) return; warnx("use dmesg to view %s", string); return; - case KERN_VNODE: - if (flags == 0) - return; - warnx("use pstat to view %s information", string); - return; case KERN_PROC: if (flags == 0) return; |