Home
last modified time | relevance | path

Searched refs:newuid (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dcore.c288 uid_t olduid, newuid; in set_cred() local
307 newuid = crgetruid(newcr); in set_cred()
308 if (olduid != newuid) { in set_cred()
313 upcount_inc(newuid, zoneid); in set_cred()
H A Dpolicy.c1657 secpolicy_allow_setid(const cred_t *cr, uid_t newuid, boolean_t checkonly) in secpolicy_allow_setid() argument
1661 if (newuid == 0 && cr->cr_uid != 0 && cr->cr_suid != 0 && in secpolicy_allow_setid()