Lines Matching refs:privset
1621 priv_set_t *privset; in sanity_check() local
1648 if ((privset = priv_allocset()) == NULL) { in sanity_check()
1653 if (getppriv(PRIV_EFFECTIVE, privset) != 0) { in sanity_check()
1655 priv_freeset(privset); in sanity_check()
1659 if (priv_isfullset(privset) == B_FALSE) { in sanity_check()
1662 priv_freeset(privset); in sanity_check()
1665 priv_freeset(privset); in sanity_check()
5375 priv_set_t *privset; in apply_func() local
5387 if ((privset = priv_allocset()) == NULL) { in apply_func()
5392 if (getppriv(PRIV_EFFECTIVE, privset) != 0) { in apply_func()
5394 priv_freeset(privset); in apply_func()
5398 if (priv_isfullset(privset) == B_FALSE) { in apply_func()
5400 priv_freeset(privset); in apply_func()
5403 priv_freeset(privset); in apply_func()