mirror of https://github.com/mkerrisk/man-pages
Add text noting that effective IDs are copied to
saved set-IDs during execve().
This commit is contained in:
parent
8de811e83f
commit
07b501d1b9
|
@ -68,14 +68,22 @@ after a successful \fBexecve\fP().
|
|||
If the set-user-ID bit is set on the program file pointed to by
|
||||
\fIfilename\fP, and the calling process is not being ptraced,
|
||||
then the effective user ID of the calling process is changed
|
||||
to that of the owner of the program file. Similarly, when the set-group-ID
|
||||
to that of the owner of the program file. i
|
||||
Similarly, when the set-group-ID
|
||||
bit of the program file is set the effective group ID of the calling
|
||||
process is set to the group of the program file.
|
||||
|
||||
If the executable is an a.out dynamically-linked binary executable containing
|
||||
The effective user ID of the process is copied to the saved set-user-ID;
|
||||
similarly, the effective group ID is copied to the saved set-group-ID.
|
||||
This copying takes place after any effective ID changes that occur
|
||||
because of the set-user-ID and set-group-ID permission bits.
|
||||
|
||||
If the executable is an a.out dynamically-linked
|
||||
binary executable containing
|
||||
shared-library stubs, the Linux dynamic linker
|
||||
.BR ld.so (8)
|
||||
is called at the start of execution to bring needed shared libraries into core
|
||||
is called at the start of execution to bring
|
||||
needed shared libraries into memory
|
||||
and link the executable with them.
|
||||
|
||||
If the executable is a dynamically-linked ELF executable, the
|
||||
|
|
Loading…
Reference in New Issue