diff options
author | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
commit | 724b89cfd3fcf9531a8abee51d88f8722ab252a9 (patch) | |
tree | 5a81d70e85130a51bbe4d2b35e4077607d6cc83a /lib/libc/sys/execve.2 | |
parent | e8e23405def4966834a6703435257f5f00ed1ac1 (diff) | |
download | FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.zip FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.tar.gz |
Merge from Lite2 onto mainline -
- add undelete() and undelete.2 (requires libc minor bump some time)
- man page updates
Diffstat (limited to 'lib/libc/sys/execve.2')
-rw-r--r-- | lib/libc/sys/execve.2 | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index b9fb131..06d01d8 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -29,9 +29,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 @@ -66,9 +66,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 @@ -76,13 +78,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 @@ -140,6 +145,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: @@ -232,6 +238,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 |