Searched refs:priv_effective (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c391 priv_set_t *priv_effective; local
403 priv_effective = priv_allocset();
404 (void) getppriv(PRIV_EFFECTIVE, priv_effective);
405 privileged = (priv_isfullset(priv_effective) == B_TRUE);
406 priv_freeset(priv_effective);
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c1913 priv_set_t *priv_effective; local
1923 priv_effective = priv_allocset();
1924 (void) getppriv(PRIV_EFFECTIVE, priv_effective);
1926 privileged = (priv_isfullset(priv_effective) == B_TRUE);
1927 priv_freeset(priv_effective);

Completed in 1363 milliseconds