diff options
| author | perry <perry@NetBSD.org> | 1998-02-02 05:20:24 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 1998-02-02 05:20:24 +0000 |
| commit | a5c24028fa4dc4c5087fdd2318c1495842967607 (patch) | |
| tree | 9bd744e9c7311515e59964c1d7bd5f45b5ed458e /lib/libc/sys/execve.2 | |
| parent | f94197be4a83a6fd372b4d22113976db7b006f0c (diff) | |
merge lite-2
Diffstat (limited to 'lib/libc/sys/execve.2')
| -rw-r--r-- | lib/libc/sys/execve.2 | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 8aba841a5b2..e05d33d6e97 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: execve.2,v 1.12 1997/07/14 23:19:55 kleink Exp $ +.\" $NetBSD: execve.2,v 1.13 1998/02/02 05:20:26 perry Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,9 +31,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)execve.2 8.3 (Berkeley) 1/24/94 +.\" @(#)execve.2 8.5 (Berkeley) 6/1/94 .\" -.Dd January 24, 1994 +.Dd June 1, 1994 .Dt EXECVE 2 .Os BSD 4 .Sh NAME @@ -68,9 +68,11 @@ An interpreter file begins with a line of the form: .Ed .Pp When an interpreter file is -.Fn execve Ap d , +.\" was .Fn execve Ap d , +\fBexecve\fP'd, the system -.Fn execve Ap s +.\" was .Fn execve Ap s +\fBexecve\fP's runs the specified .Em interpreter . If the optional @@ -78,13 +80,16 @@ If the optional is specified, it becomes the first argument to the .Em interpreter , and the name of the originally -.Fn execve Ap d +.\" was .Fn execve Ap d +\fBexecve\fP'd file becomes the second argument; otherwise, the name of the originally -.Fn execve Ap d +.\" was .Fn execve Ap d +\fBexecve\fP'd file becomes the first argument. The original arguments are shifted over to become the subsequent arguments. The zeroth argument, normally the name of the -.Fn execve Ap d +.\" was .Fn execve Ap d +\fBexecve\fP'd file, is left unchanged. .Pp The argument @@ -142,6 +147,7 @@ the effective user ID is recorded as the saved set-user-ID, and the effective group ID is recorded as the saved set-group-ID. These values may be used in changing the effective IDs later (see .Xr setuid 2 ) . +.ne 1i .Pp The new process also inherits the following attributes from the calling process: @@ -226,6 +232,7 @@ permission, but has an invalid magic number in its header. .It Bq Er ETXTBSY The new process file is a pure procedure (shared text) file that is currently open for writing or reading by some process. +.ne 1i .It Bq Er ENOMEM The new process requires more virtual memory than is allowed by the imposed maximum |
