summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-05 00:43:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-05 00:43:21 +0000
commit68dce44a8d7e42f80642aaa694df6cf102cd6d75 (patch)
treed1e62b226ae31aa8a48f00aaf2b5684925e44a68 /sys
parent14d3b29ea67a876a0b596d347352199303d228aa (diff)
make PID_MAX 65535: lots, but avoids problems with compat_*
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 780916df89c..0f2a4fa9f08 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.20 1999/01/04 08:09:53 deraadt Exp $ */
+/* $OpenBSD: proc.h,v 1.21 1999/01/05 00:43:20 deraadt Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
@@ -258,7 +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".
*/
-#define PID_MAX 30000
+#define PID_MAX 65535
#define NO_PID (PID_MAX+1)
#define SESS_LEADER(p) ((p)->p_session->s_leader == (p))