summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1998-01-11 21:43:38 +0000
committeralex <alex@FreeBSD.org>1998-01-11 21:43:38 +0000
commit8488139b2f59f7f018eb95dfc5e5e9a875c47243 (patch)
tree8faba0a2e174e51d38b77360c5f2a9815e6a8b0b /lib
parent2aff55e25fd0e9baef0fea9e9feb2ebbe6628fbe (diff)
downloadFreeBSD-src-8488139b2f59f7f018eb95dfc5e5e9a875c47243.zip
FreeBSD-src-8488139b2f59f7f018eb95dfc5e5e9a875c47243.tar.gz
Document that arg max is controllable via sysctl.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/execve.212
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 36e69ad..c7a5d87 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)execve.2 8.5 (Berkeley) 6/1/94
+.\" $Id$
.\"
.Dd June 1, 1994
.Dt EXECVE 2
@@ -239,12 +240,12 @@ The new process requires more virtual memory than
is allowed by the imposed maximum
.Pq Xr getrlimit 2 .
.It Bq Er E2BIG
-The number of bytes in the new process's argument list
+The number of bytes in the new process' argument list
is larger than the system-imposed limit.
-The limit in the system as released is 65536 bytes
-.Pf ( Dv NCARGS
-in
-.Ao Pa sys/param.h Ac ) .
+This limit is specified by the
+.Xr sysctl 3
+MIB variable
+.Dv KERN_ARGMAX .
.It Bq Er EFAULT
The new process file is not as long as indicated by
the size values in its header.
@@ -271,6 +272,7 @@ of a super-user as well.
.Xr fork 2 ,
.Xr execl 3 ,
.Xr exit 3 ,
+.Xr sysctl 3 ,
.Xr environ 7
.Sh HISTORY
The
OpenPOWER on IntegriCloud