Lines Matching refs:priv
6272 uint32_t priv;
6278 priv = DTRACE_PRIV_ALL;
6283 priv = 0;
6285 priv |= DTRACE_PRIV_KERNEL | DTRACE_PRIV_USER;
6287 priv |= DTRACE_PRIV_USER;
6289 priv |= DTRACE_PRIV_PROC;
6291 priv |= DTRACE_PRIV_OWNER;
6293 priv |= DTRACE_PRIV_ZONEOWNER;
6296 *privp = priv;
6343 dtrace_match_priv(const dtrace_probe_t *prp, uint32_t priv, uid_t uid,
6346 if (priv != DTRACE_PRIV_ALL) {
6348 uint32_t match = priv & ppriv;
6353 if ((priv & (DTRACE_PRIV_PROC | DTRACE_PRIV_USER |
6391 uint32_t priv, uid_t uid, zoneid_t zoneid)
6411 if (dtrace_match_priv(prp, priv, uid, zoneid) == 0)
6559 dtrace_match(const dtrace_probekey_t *pkp, uint32_t priv, uid_t uid,
6575 dtrace_match_probe(probe, pkp, priv, uid, zoneid) > 0) {
6617 dtrace_match_probe(probe, pkp, priv, uid,
6638 if (dtrace_match_probe(probe, pkp, priv, uid, zoneid) <= 0)
6717 dtrace_register(const char *name, const dtrace_pattr_t *pap, uint32_t priv,
6753 if (priv & ~DTRACE_PRIV_ALL) {
6759 if ((priv & DTRACE_PRIV_KERNEL) &&
6760 (priv & (DTRACE_PRIV_USER | DTRACE_PRIV_OWNER)) &&
6772 provider->dtpv_priv.dtpp_flags = priv;
7401 uint32_t priv;
7420 &priv, &uid, &zoneid);
7422 return (dtrace_match(&pkey, priv, uid, zoneid, dtrace_ecb_create_enable,
14987 uint32_t priv;
15008 dtrace_cred2priv(cred_p, &priv, &uid, &zoneid);
15009 if (priv == DTRACE_PRIV_NONE)
15631 uint32_t priv;
15659 dtrace_cred2priv(cr, &priv, &uid, &zoneid);
15667 priv, uid, zoneid)) != 0)
15679 dtrace_match_priv(probe, priv, uid, zoneid))