summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-01-04 08:09:53 +0000
committerderaadt <deraadt@openbsd.org>1999-01-04 08:09:53 +0000
commit7fd0554ebd41eb1ae1458fa971539ddab27e2d11 (patch)
tree695c9f7c1acfa9651c4888ed1e014090adfcc9c2
parentssl lib test scripts. Need to be tested so as not to break build process (diff)
downloadwireguard-openbsd-7fd0554ebd41eb1ae1458fa971539ddab27e2d11.tar.xz
wireguard-openbsd-7fd0554ebd41eb1ae1458fa971539ddab27e2d11.zip
high PID_MAX has side effects on udp, which are still being debugged
-rw-r--r--sys/sys/proc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 3c74f0a511e..780916df89c 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.19 1998/12/29 17:05:50 niklas Exp $ */
+/* $OpenBSD: proc.h,v 1.20 1999/01/04 08:09:53 deraadt Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
@@ -258,11 +258,7 @@ struct pcred {
* We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t,
* as it is used to represent "no process group".
*/
-#ifdef COMPAT_09
#define PID_MAX 30000
-#else
-#define PID_MAX 99999
-#endif
#define NO_PID (PID_MAX+1)
#define SESS_LEADER(p) ((p)->p_session->s_leader == (p))