minor wording chnages

This commit is contained in:
Michael Kerrisk 2004-12-13 08:58:09 +00:00
parent 99d2b7a267
commit d3c8b3e9b7
3 changed files with 6 additions and 5 deletions

View File

@ -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.

View File

@ -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

View File

@ -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.