Lines Matching refs:privset
1620 priv_set_t *privset; in sanity_check() local
1647 if ((privset = priv_allocset()) == NULL) { in sanity_check()
1652 if (getppriv(PRIV_EFFECTIVE, privset) != 0) { in sanity_check()
1654 priv_freeset(privset); in sanity_check()
1658 if (priv_isfullset(privset) == B_FALSE) { in sanity_check()
1661 priv_freeset(privset); in sanity_check()
1664 priv_freeset(privset); in sanity_check()
5373 priv_set_t *privset; in apply_func() local
5385 if ((privset = priv_allocset()) == NULL) { in apply_func()
5390 if (getppriv(PRIV_EFFECTIVE, privset) != 0) { in apply_func()
5392 priv_freeset(privset); in apply_func()
5396 if (priv_isfullset(privset) == B_FALSE) { in apply_func()
5398 priv_freeset(privset); in apply_func()
5401 priv_freeset(privset); in apply_func()