diff options
| author | cgd <cgd@NetBSD.org> | 1993-10-26 01:49:04 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1993-10-26 01:49:04 +0000 |
| commit | dfa98edf21d5a12cd60ef42bd3607c893de653f8 (patch) | |
| tree | 1e2eed24bb3dd1bb1eb2792de3270c4316fa3f3e /lib/libc/sys/execve.2 | |
| parent | 13ca4d98c7c24733b1491f33cdb6b7adffbf8f0d (diff) | |
fixes from Garrett A. Wollman <wollman@emba.uvm.edu>:
note that EACCES is returned if program file is on an FS mounted
MNT_NOEXEC. also fix missing close-paren.
Diffstat (limited to 'lib/libc/sys/execve.2')
| -rw-r--r-- | lib/libc/sys/execve.2 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 8b44e1146c8..12fc4275664 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)execve.2 6.9 (Berkeley) 3/10/91 -.\" $Id: execve.2,v 1.2 1993/08/01 07:43:13 mycroft Exp $ +.\" $Id: execve.2,v 1.3 1993/10/26 01:49:04 cgd Exp $ .\" .Dd March 10, 1991 .Dt EXECVE 2 @@ -206,6 +206,12 @@ Search permission is denied for a component of the path prefix. The new process file is not an ordinary file. .It Bq Er EACCES The new process file mode denies execute permission. +.It Bq Er EACCES +The new process file is on a filesystem mounted with execution +disabled +.Pf ( Dv MNT_NOEXEC +in +.Ao Pa sys/mount.h Ac ) . .It Bq Er ENOEXEC The new process file has the appropriate access permission, but has an invalid magic number in its header. @@ -222,7 +228,7 @@ is larger than the system-imposed limit. The limit in the system as released is 20480 bytes .Pf ( Dv NCARGS in -.Ao Pa sys/param.h Ac . +.Ao Pa sys/param.h Ac ) . .It Bq Er EFAULT The new process file is not as long as indicated by the size values in its header. |
