valid_seteuid

ds2.1.1/lib/doc/applies/master/valid_seteuid · 503 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

valid_seteuid - secures the use of seteuid

int valid_seteuid( object obj, string euid );

This routine is only used if PACKAGE_UIDS is defined.

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() will
succeed.  

See also:
 seteuid,
 geteuid,
 getuid,
 export_uid

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571