.\"secures the use of seteuid(3)
.DT
Valid_seteuid
Discworld driver help
Valid_seteuid

Name
.SI 5
valid_seteuid - secures the use of seteuid(3)

.EI
Synopsis
.SI 5
int valid_seteuid(object obj, string euid);

.EI
Description
.SP 5 5

The driver calls valid_seteuid(ob, euid) in the master object from inside the
seteuid(euid) efunction.  If valid_seteuid() returns 0, then the seteuid()
call will fail.  If valid_seteuid() returns 1, then the seteuid(3) will
succeed.  

.EP
See also
.SI 5
seteuid(3), geteuid(3), getuid(3)
.EI
