summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-01-05 00:43:20 +0000
committerderaadt <deraadt@openbsd.org>1999-01-05 00:43:20 +0000
commit2a9d45b0f02b5112a7d756fd746cbb9938286c04 (patch)
tree038c83a13e8f796a0124aacd26a57a72cc9355e9
parentCorrect ! handling in parens; dave@dtsp.co.nz (diff)
downloadwireguard-openbsd-2a9d45b0f02b5112a7d756fd746cbb9938286c04.tar.xz
wireguard-openbsd-2a9d45b0f02b5112a7d756fd746cbb9938286c04.zip
make PID_MAX 65535: lots, but avoids problems with compat_*
-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))