From df472ea4f3d527e901f7872963ba1e6978a4056c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 13 Mar 2001 02:55:54 +0000 Subject: [PATCH] Don't allow userland to use the RFHIGHPID flag. Its only purpose is to reserve low pids for system daemons during boot. --- sys/sys/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index 83b60d61b9b..e3b562f14f3 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -220,7 +220,7 @@ #define RFSTOPPED (1<<17) /* leave child in a stopped state */ #define RFHIGHPID (1<<18) /* use a pid higher then 10 (idleproc) */ #define RFPPWAIT (1<<31) /* parent sleeps until child exits (vfork) */ -#define RFKERNELONLY RFSTOPPED +#define RFKERNELONLY (RFSTOPPED|RFHIGHPID) #endif /* !_POSIX_SOURCE */