Noted effect of fork() and execve().

This commit is contained in:
Michael Kerrisk 2006-07-22 14:26:12 +00:00
parent 75fcdb0894
commit ef828a01d8
2 changed files with 14 additions and 0 deletions

View File

@ -108,9 +108,17 @@ SVr4 documents additional EINTR, ENOLINK and EMULTIHOP error conditions.
X/OPEN does not document EIO, ENOMEM or EFAULT error conditions.
This interface is marked as legacy by X/OPEN.
.SH NOTES
A child process created via
.BR fork (2)
inherits its parent's root directory.
The root directory is left unchanged by
.BR execve (2).
FreeBSD has a stronger
.BR jail ()
system call.
.\" FIXME -- eventually say something about containers,
.\" virtual servers, etc.?
.SH "SEE ALSO"
.BR chdir (2),
.BR path_resolution (2)

View File

@ -86,6 +86,12 @@ resulting file will be:
.SH "RETURN VALUE"
This system call always succeeds and the previous value of the mask
is returned.
.SH NOTES
A child process created via
.BR fork (2)
inherits its parent's umask.
The umask is left unchanged by
.BR execve (2).
.SH "CONFORMING TO"
SVr4, SVID, POSIX, X/OPEN, 4.3BSD
.SH "SEE ALSO"