diff options
author | 2015-07-28 22:48:31 +0000 | |
---|---|---|
committer | 2015-07-28 22:48:31 +0000 | |
commit | 3e902ad3e920ba2a572b2a1a4bbe24f2a3552ecd (patch) | |
tree | 3b202152cd4e93125c5d963dbe8643cfe7ea3730 /lib/libc/sys | |
parent | wrap some exceedingly long lines (diff) | |
download | wireguard-openbsd-3e902ad3e920ba2a572b2a1a4bbe24f2a3552ecd.tar.xz wireguard-openbsd-3e902ad3e920ba2a572b2a1a4bbe24f2a3552ecd.zip |
ARG_MAX is the standard name (not NCARGS); probab[l]y guenther
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/execve.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/intro.2 | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index d0e319ea592..61f6b05e7cf 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.43 2015/02/07 08:52:37 tedu Exp $ +.\" $OpenBSD: execve.2,v 1.44 2015/07/28 22:48:31 deraadt Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)execve.2 8.3 (Berkeley) 1/24/94 .\" -.Dd $Mdocdate: February 7 2015 $ +.Dd $Mdocdate: July 28 2015 $ .Dt EXECVE 2 .Os .Sh NAME @@ -284,9 +284,7 @@ is allowed by the imposed maximum The number of bytes in the new process's argument list is larger than the system-imposed limit. The limit in the system as released is 262144 bytes -.Pf ( Dv NCARGS -in -.In sys/param.h ) . +.Pf ( Dv ARG_MAX ) . .It Bq Er EFAULT The new process file is not as long as indicated by the size values in its header. diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 21bd61a0360..f6a9b166132 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.58 2015/01/19 21:29:38 millert Exp $ +.\" $OpenBSD: intro.2,v 1.59 2015/07/28 22:48:31 deraadt Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)intro.2 8.3 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: January 19 2015 $ +.Dd $Mdocdate: July 28 2015 $ .Dt INTRO 2 .Os .Sh NAME @@ -109,9 +109,7 @@ no disk pack is loaded on a drive. .It Er 7 E2BIG Em "Argument list too long" . The number of bytes used for the argument and environment list of the new process exceeded the limit -.Dv NCARGS -(specified in -.In sys/param.h ) . +.Dv ARG_MAX . .It Er 8 ENOEXEC Em "Exec format error" . A request was made to execute a file that, although it has the appropriate permissions, was not in the format required for an executable file. |