Searched refs:cr (Results 1 - 10 of 10) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | ucred.h | 154 void cru2x(kauth_cred_t cr, struct xucred *xcr);
|
/darwin-on-arm/xnu/security/ |
H A D | mac_process.c | 116 kauth_cred_t cr; local 119 cr = kauth_cred_proc_ref(p); 121 error = MAC_EXTERNALIZE_AUDIT(cred, cr->cr_label, 124 kauth_cred_unref(&cr);
|
H A D | mac_base.c | 1361 kauth_cred_t cr; local 1391 cr = kauth_cred_proc_ref(p); 1394 error = mac_cred_label_externalize(cr->cr_label, 1401 kauth_cred_unref(&cr);
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 252 #define HAS_ALLPRIVS(cr) priv_isfullset(&CR_OEPRIV(cr)) 253 #define HAS_PRIVILEGE(cr, pr) ((pr) == PRIV_ALL ? \ 254 HAS_ALLPRIVS(cr) : \ 255 PRIV_ISASSERT(&CR_OEPRIV(cr), pr)) 264 PRIV_POLICY_ONLY(void *cr, int priv, int boolean) argument 267 return kauth_cred_issuser(cr); /* XXX TODO: HAS_PRIVILEGE(cr, priv); */ 272 crgetgid(const cred_t *cr) { cred_t copy_cr = *cr; retur argument 275 crgetuid(const cred_t *cr) argument [all...] |
H A D | dtrace.c | 1291 cred_t *cr, *s_cr = state->dts_cred.dcr_cred; local 1300 if ((cr = CRED()) != NULL && 1302 if ((cr = dtrace_CRED()) != NULL && 1304 posix_cred_get(s_cr)->cr_uid == posix_cred_get(cr)->cr_uid && 1305 posix_cred_get(s_cr)->cr_uid == posix_cred_get(cr)->cr_ruid && 1306 posix_cred_get(s_cr)->cr_uid == posix_cred_get(cr)->cr_suid && 1307 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_gid && 1308 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_rgid && 1309 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_sgid) 1323 cred_t *cr, *s_c [all...] |
H A D | fasttrap.c | 2257 fasttrap_ioctl(dev_t dev, u_long cmd, user_addr_t arg, int md, cred_t *cr, int *rv) argument 2324 if (!PRIV_POLICY_CHOICE(cr, PRIV_ALL, B_FALSE)) { 2339 // if ((ret = priv_proc_cred_perm(cr, p, NULL, 2364 if (!PRIV_POLICY_CHOICE(cr, PRIV_ALL, B_FALSE)) { 2379 // if ((ret = priv_proc_cred_perm(cr, p, NULL,
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | Makefile.com | 104 $(AR) -cr libmicro.a libmicro.o libmicro_main.o $(BENCHMARK_FUNCS)
|
H A D | Makefile.com.Darwin | 106 $(AR) -cr libmicro.a libmicro.o libmicro_main.o $(BENCHMARK_FUNCS)
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.h | 324 #define ppsratecheck(tv, cr, mr) _audit_ppsratecheck(tv, cr, mr)
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_prot.c | 2065 cru2x(kauth_cred_t cr, struct xucred *xcr) argument 2067 posix_cred_t pcr = posix_cred_get(cr); 2071 xcr->cr_uid = kauth_cred_getuid(cr);
|
Completed in 78 milliseconds