Searched refs:priv_effective (Results 1 – 3 of 3) sorted by relevance
145 priv_set_t *priv_needed, *priv_effective; in main() local234 priv_effective = priv_allocset(); in main()235 (void) getppriv(PRIV_EFFECTIVE, priv_effective); in main()236 if (priv_issubset(priv_needed, priv_effective) == 0) { in main()240 priv_freeset(priv_effective); in main()
390 priv_set_t *priv_effective; in smb_enable_share() local402 priv_effective = priv_allocset(); in smb_enable_share()403 (void) getppriv(PRIV_EFFECTIVE, priv_effective); in smb_enable_share()404 privileged = (priv_isfullset(priv_effective) == B_TRUE); in smb_enable_share()405 priv_freeset(priv_effective); in smb_enable_share()
1914 priv_set_t *priv_effective; in nfs_enable_share() local1924 priv_effective = priv_allocset(); in nfs_enable_share()1925 (void) getppriv(PRIV_EFFECTIVE, priv_effective); in nfs_enable_share()1927 privileged = (priv_isfullset(priv_effective) == B_TRUE); in nfs_enable_share()1928 priv_freeset(priv_effective); in nfs_enable_share()