Searched defs:effective (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dprivlib.c74 static const char *effective = PRIV_EFFECTIVE; variable
443 * tests the existence of a privilege against the effective set.
456 if (getppriv(effective, curset) != 0 ||
518 (void) setppriv(PRIV_SET, effective, perm);
660 if ((r = setppriv(PRIV_SET, effective, tmpset)) != 0)
691 * Toggle privileges on/off in the effective set.
704 return (setppriv(op, effective, bracketpriv));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Ddoio.c1824 Perl_cando(pTHX_ Mode_t mode, Uid_t effective, register Stat_t *statbufp) argument
1825 /* Note: we use `effective' both for uids and gids.
1853 if ((effective ? PL_euid : PL_uid) == 0) { /* root is special */
1862 if (statbufp->st_uid == (effective ? PL_euid : PL_uid) ) {
1866 else if (ingroup(statbufp->st_gid,effective)) {
1878 Perl_ingroup(pTHX_ Gid_t testgid, Uid_t effective) argument
1884 if (testgid == (effective ? PL_egid : PL_gid))

Completed in 72 milliseconds