summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-03-12 04:54:29 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-03-12 04:54:29 +0000
commita79766e940b76ce3fc27af710b45145c5a8c3edf (patch)
treed1d61b3bbff4cd49d452a09b222d58400643b4ab /sys/compat
parent0b04a0ec6ae4d56e31d9ced0bf6fc0178f67fc67 (diff)
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
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/common/kern_info_43.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/compat/common/kern_info_43.c b/sys/compat/common/kern_info_43.c
index d8441601c09..50742ade663 100644
--- a/sys/compat/common/kern_info_43.c
+++ b/sys/compat/common/kern_info_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_info_43.c,v 1.15 2003/08/15 20:32:15 tedu Exp $ */
+/* $OpenBSD: kern_info_43.c,v 1.16 2011/03/12 04:54:28 guenther Exp $ */
/* $NetBSD: kern_info_43.c,v 1.5 1996/02/04 02:02:22 christos Exp $ */
/*
@@ -225,14 +225,6 @@ compat_43_sys_getkerninfo(p, v, retval)
kern_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
break;
- case KINFO_PROC:
- name[0] = KERN_PROC;
- name[1] = SCARG(uap, op) & 0xff;
- name[2] = SCARG(uap, arg);
- error =
- kern_sysctl(name, 3, SCARG(uap, where), &size, NULL, 0, p);
- break;
-
case KINFO_FILE:
name[0] = KERN_FILE;
error =