Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Don't need those any more



details:   https://anonhg.NetBSD.org/src/rev/49ebbbf33a77
branches:  trunk
changeset: 556022:49ebbbf33a77
user:      atatat <atatat%NetBSD.org@localhost>
date:      Sat Dec 06 04:25:57 2003 +0000

description:
Don't need those any more

diffstat:

 sys/kern/kern_resource.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 6896f3a7934d -r 49ebbbf33a77 sys/kern/kern_resource.c
--- a/sys/kern/kern_resource.c  Sat Dec 06 04:16:33 2003 +0000
+++ b/sys/kern/kern_resource.c  Sat Dec 06 04:25:57 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_resource.c,v 1.74 2003/12/04 19:38:23 atatat Exp $        */
+/*     $NetBSD: kern_resource.c,v 1.75 2003/12/06 04:25:57 atatat Exp $        */
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_resource.c,v 1.74 2003/12/04 19:38:23 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_resource.c,v 1.75 2003/12/06 04:25:57 atatat Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -718,11 +718,9 @@
        case PROC_PID_STOPEXEC:
                f = P_STOPEXEC;
                break;
-#ifdef PROC_PID_STOPEXIT
        case PROC_PID_STOPEXIT:
                f = P_STOPEXIT;
                break;
-#endif /* PROC_PID_STOPEXIT */
        default:
                return (EINVAL);
        }
@@ -850,10 +848,8 @@
                       CTLTYPE_INT, "stopexec", NULL,
                       sysctl_proc_stop, 0, NULL, 0,
                       CTL_PROC, PROC_CURPROC, PROC_PID_STOPEXEC, CTL_EOL);
-#ifdef PROC_PID_STOPEXIT
        sysctl_createv(SYSCTL_PERMANENT|SYSCTL_READWRITE|SYSCTL_ANYWRITE,
                       CTLTYPE_INT, "stopexit", NULL,
                       sysctl_proc_stop, 0, NULL, 0,
                       CTL_PROC, PROC_CURPROC, PROC_PID_STOPEXIT, CTL_EOL);
-#endif /* PROC_PID_STOPEXIT */
 }



Home | Main Index | Thread Index | Old Index