Home
last modified time | relevance | path

Searched refs:priv_ismember (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dprivileges.c80 if (!priv_ismember(bhyve_priv_init, priv)) in illumos_priv_add_set()
152 if (priv_ismember(bhyve_priv_init, PRIV_PROC_CLOCK_HIGHRES)) in illumos_priv_init()
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c609 if (!priv_ismember(privset, PRIV_DTRACE_KERNEL)) { in spoof_check_privs()
614 if (!priv_ismember(privset, PRIV_SYS_NET_CONFIG)) { in spoof_check_privs()
619 if (!priv_ismember(privset, PRIV_NET_ICMPACCESS)) { in spoof_check_privs()
/illumos-gate/usr/src/head/
H A Dpriv.h80 extern boolean_t priv_ismember(const priv_set_t *, const char *);
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dpriv.h64 #define PRIV_ISASSERT(a, b) (priv_ismember(a, b))
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsetpriority.c204 !priv_ismember(pset, "proc_priocntl")) in setpriority()
H A Dprivlib.c46 #pragma weak _priv_ismember = priv_ismember
458 !priv_ismember(curset, priv)) in priv_ineffect()
1020 priv_ismember(const priv_set_t *a, const char *p) in priv_ismember() function
/illumos-gate/usr/src/uts/common/sys/
H A Dpriv_impl.h109 #define PRIV_ISASSERT(a, b) priv_ismember((a), (b))
H A Dpriv.h226 extern boolean_t priv_ismember(const priv_set_t *, int);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc.c265 return (!priv_ismember(psp, PRIV_SYS_ADMIN)); in fmd_rpc_deny()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_share_doorsvc.c169 if (priv_ismember(ps, PRIV_SYS_SMB)) { in have_priv_sys_smb()
H A Dsmbd_pipesvc.c294 if (priv_ismember(ps, PRIV_SYS_SMB)) { in pipe_has_priv()
H A Dsmbd_authsvc.c257 if (priv_ismember(ps, PRIV_SYS_SMB)) { in authsock_has_priv()
H A Dsmbd_doorsvc.c266 if (priv_ismember(ps, PRIV_SYS_SMB)) { in have_req_privs()
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c537 if (priv_ismember(&pset, priv)) { in secpolicy_require_set()
2296 if (priv_ismember(&pset, PRIV_SYS_IP_CONFIG) && in secpolicy_spec_open()
2297 priv_ismember(&CR_OEPRIV(cr), PRIV_SYS_NET_CONFIG) && in secpolicy_spec_open()
2298 !priv_ismember(&CR_OEPRIV(cr), PRIV_SYS_IP_CONFIG)) { in secpolicy_spec_open()
H A Dpriv.c493 priv_ismember(const priv_set_t *set, int priv) in priv_ismember() function
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c86 priv_ismember(eset, PRIV_SYS_IPTUN_CONFIG)) || in dlmgmt_checkprivs()
87 priv_ismember(eset, PRIV_SYS_DL_CONFIG) || in dlmgmt_checkprivs()
88 priv_ismember(eset, PRIV_SYS_NET_CONFIG))) in dlmgmt_checkprivs()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c370 if (!priv_ismember(eset, PRIV_FILE_DAC_READ)) in _nscd_check_client_priv()
408 eset != NULL ? !priv_ismember(eset, PRIV_SYS_ADMIN) : in N2N_check_priv()
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c521 if (!priv_ismember(eset, PRIV_SYS_RESOURCE)) { in set_one_limit()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_door.c43 return (priv_ismember(ps, PRIV_SYS_NET_CONFIG)); in libvarpd_door_privileged()
/illumos-gate/usr/src/cmd/plockstat/
H A Dplockstat.c773 !priv_ismember(psp, PRIV_DTRACE_PROC)) { in main()
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c640 if (priv_ismember(pset, pname)) in dumppriv()
/illumos-gate/usr/src/lib/c_synonyms/
H A Dsyn_common580 priv_ismember
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c1774 if (!priv_ismember(eset, PRIV_SYS_RESOURCE)) { in prctl_setrctl()
2174 if (!priv_ismember(prset, PRIV_SYS_RESOURCE)) { in grab_process_by_id()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_token.c1129 if (priv_ismember(pset, priv)) { in au_to_privset()
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c236 if (!priv_ismember(pset, PRIV_SYS_NET_CONFIG)) { in main()

12