VALID_SE.C

LIB3/SECURE/MASTER/VALID_SE.C · 291 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

int     valid_seteuid( object ob, string euid )
{
    string  crea;

    if( euid == "tmp" )
    {
	return 1;
    }
    crea = creator_file( file_name( ob ) );
    if( crea == "Root" || crea == "Room" )
    {
	return 1;
    }
    return( euid == crea ) || !euid;
}				/* valid_seteuid() */

Site Stats

Snippets: 1791
Codebases: 571