Deleted Added
full compact
execve.2 (50476) execve.2 (57686)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)execve.2 8.5 (Berkeley) 6/1/94
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)execve.2 8.5 (Berkeley) 6/1/94
33.\" $FreeBSD: head/lib/libc/sys/execve.2 50476 1999-08-28 00:22:10Z peter $
33.\" $FreeBSD: head/lib/libc/sys/execve.2 57686 2000-03-02 09:14:21Z sheldonh $
34.\"
35.Dd June 1, 1994
36.Dt EXECVE 2
37.Os BSD 4
38.Sh NAME
39.Nm execve
40.Nd execute a file
41.Sh SYNOPSIS

--- 70 unchanged lines hidden (view full) ---

112.Xr close 2
113and
114.Xr fcntl 2 ) .
115Descriptors that remain open are unaffected by
116.Fn execve .
117.Pp
118Signals set to be ignored in the calling process are set to be ignored in
119the
34.\"
35.Dd June 1, 1994
36.Dt EXECVE 2
37.Os BSD 4
38.Sh NAME
39.Nm execve
40.Nd execute a file
41.Sh SYNOPSIS

--- 70 unchanged lines hidden (view full) ---

112.Xr close 2
113and
114.Xr fcntl 2 ) .
115Descriptors that remain open are unaffected by
116.Fn execve .
117.Pp
118Signals set to be ignored in the calling process are set to be ignored in
119the
120new process. Signals which are set to be caught in the calling process image
120new process.
121Signals which are set to be caught in the calling process image
121are set to default action in the new process image.
122Blocked signals remain blocked regardless of changes to the signal action.
123The signal stack is reset to be undefined (see
124.Xr sigaction 2
125for more information).
126.Pp
127If the set-user-ID mode bit of the new process image file is set
128(see

--- 160 unchanged lines hidden ---
122are set to default action in the new process image.
123Blocked signals remain blocked regardless of changes to the signal action.
124The signal stack is reset to be undefined (see
125.Xr sigaction 2
126for more information).
127.Pp
128If the set-user-ID mode bit of the new process image file is set
129(see

--- 160 unchanged lines hidden ---