From a79766e940b76ce3fc27af710b45145c5a8c3edf Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Sat, 12 Mar 2011 04:54:29 +0000 Subject: 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 --- sys/compat/common/kern_info_43.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sys/compat') 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 = -- cgit v1.2.3