mirror of https://github.com/mkerrisk/man-pages
minor wording chnages
This commit is contained in:
parent
99d2b7a267
commit
d3c8b3e9b7
|
@ -51,7 +51,8 @@ is set appropriately.
|
|||
.SH ERRORS
|
||||
.TP
|
||||
.B EPERM
|
||||
The user is not the superuser (does not have the CAP_SETGID capability), and
|
||||
The calling process is not privileged (does not have the
|
||||
CAP_SETGID capability), and
|
||||
.I gid
|
||||
does not match the effective group ID or saved set-group-ID of
|
||||
the calling process.
|
||||
|
|
|
@ -66,8 +66,8 @@ does not match the current uid and this call would
|
|||
bring that userID over its NPROC rlimit.
|
||||
.TP
|
||||
.B EPERM
|
||||
The current process was not privileged (did not have the CAP_SETUID
|
||||
capability) and tried to change the IDs is a not allowed way.
|
||||
The calling process is not privileged (did not have the CAP_SETUID
|
||||
capability) and tried to change the IDs to values that are not permitted.
|
||||
.SH "CONFORMING TO"
|
||||
This call is nonstandard.
|
||||
.SH HISTORY
|
||||
|
|
|
@ -50,8 +50,8 @@ effective user ID in a secure manner.
|
|||
If the user is root or the program is setuid root, special care must be
|
||||
taken. The
|
||||
.B setuid
|
||||
function checks the effective user ID of the caller and if it is the superuser,
|
||||
all process related user ID's are set to
|
||||
function checks the effective user ID of the caller and if it is
|
||||
the superuser, all process related user ID's are set to
|
||||
.IR uid .
|
||||
After this has occurred, it is impossible for the program to regain root
|
||||
privileges.
|
||||
|
|
Loading…
Reference in New Issue