Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys merge the two E2BIG entries (wiz)



details:   https://anonhg.NetBSD.org/src/rev/8a34a859435f
branches:  trunk
changeset: 454430:8a34a859435f
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 16 11:03:08 2019 +0000

description:
merge the two E2BIG entries (wiz)

diffstat:

 lib/libc/sys/execve.2 |  18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diffs (46 lines):

diff -r a42e806f2a55 -r 8a34a859435f lib/libc/sys/execve.2
--- a/lib/libc/sys/execve.2     Mon Sep 16 09:35:20 2019 +0000
+++ b/lib/libc/sys/execve.2     Mon Sep 16 11:03:08 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: execve.2,v 1.43 2019/09/16 04:54:23 wiz Exp $
+.\"    $NetBSD: execve.2,v 1.44 2019/09/16 11:03:08 christos Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)execve.2   8.5 (Berkeley) 6/1/94
 .\"
-.Dd September 11, 2019
+.Dd September 16, 2019
 .Dt EXECVE 2
 .Os
 .Sh NAME
@@ -257,13 +257,6 @@
 system call
 will fail and return to the calling process if:
 .Bl -tag -width Er
-.It Bq Er E2BIG
-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
-.Dv ( NCARGS
-in
-.Ao Pa sys/param.h Ac ) .
 .It Bq Er EACCES
 Search permission is denied for a component of the path prefix,
 the new process file is not an ordinary file,
@@ -316,7 +309,12 @@
 .It Bq Er E2BIG
 The number of bytes in the new process' argument list
 is larger than the system-imposed limit.
-This limit is specified by the
+The default compile time limit is 262144 bytes and is specified
+in the variable
+.Dv NCARGS
+in
+.Ao Pa sys/param.h Ac 
+and get be read from the
 .Xr sysctl 3
 MIB variable
 .Dv KERN_ARGMAX .



Home | Main Index | Thread Index | Old Index