mirror of https://github.com/mkerrisk/man-pages
seteuid.2: seteuid() and setegid() are implemented as library functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
bf2633795c
commit
a36b2bb0ec
|
@ -121,6 +121,15 @@ need not permit
|
||||||
.RI ( egid )
|
.RI ( egid )
|
||||||
to be the same value as the current effective user (group) ID,
|
to be the same value as the current effective user (group) ID,
|
||||||
and some implementations do not permit this.
|
and some implementations do not permit this.
|
||||||
|
|
||||||
|
On Linux,
|
||||||
|
.BR seteuid ()
|
||||||
|
and
|
||||||
|
.BR setegid ()
|
||||||
|
are implemented as library functions that call, respectively,
|
||||||
|
.BR setreuid (2)
|
||||||
|
and
|
||||||
|
.BR setresgid (2).
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR geteuid (2),
|
.BR geteuid (2),
|
||||||
.BR setresuid (2),
|
.BR setresuid (2),
|
||||||
|
|
Loading…
Reference in New Issue