| /xnu-10063.101.15/security/ ! |
| H A D | mac_process.c | 395 MAC_CHECK(proc_check_remote_thread_create, current_cached_proc_cred(curp), in mac_proc_check_remote_thread_create() 406 current_cached_proc_cred(PROC_NULL), sp_info); in mac_proc_notify_service_port_derive() 424 MAC_CHECK(proc_check_fork, current_cached_proc_cred(curp), curp); in mac_proc_check_fork() 511 MAC_CHECK(proc_check_memorystatus_control, current_cached_proc_cred(proc), in mac_proc_check_memorystatus_control() 533 MAC_CHECK(proc_check_mprotect, current_cached_proc_cred(proc), in mac_proc_check_mprotect() 577 MAC_CHECK(proc_check_sched, current_cached_proc_cred(curp), proc); in mac_proc_check_sched() 597 MAC_CHECK(proc_check_signal, current_cached_proc_cred(curp), proc, signum); in mac_proc_check_signal() 637 MAC_CHECK(proc_check_wait, current_cached_proc_cred(curp), proc); in mac_proc_check_wait() 664 MAC_CHECK(proc_check_suspend_resume, current_cached_proc_cred(curp), in mac_proc_check_suspend_resume() 685 MAC_CHECK(proc_check_ledger, current_cached_proc_cred(curp), in mac_proc_check_ledger() [all …]
|
| H A D | mac_mach.c | 123 current_cached_proc_cred(PROC_NULL), pidentp, flavor); in mac_task_check_task_id_token_get_task() 134 current_cached_proc_cred(PROC_NULL)); in mac_task_check_get_movable_control_port() 147 current_cached_proc_cred(PROC_NULL), id, port); in mac_task_check_set_host_special_port() 160 current_cached_proc_cred(PROC_NULL), exception); in mac_task_check_set_host_exception_port() 189 current_cached_proc_cred(PROC_NULL), pidentp, which); in mac_task_check_get_task_special_port() 217 current_cached_proc_cred(PROC_NULL), &pident, which, port); in mac_task_check_set_task_special_port() 228 current_cached_proc_cred(PROC_NULL)); in mac_task_check_dyld_process_info_notify_register() 239 kauth_cred_t cred = current_cached_proc_cred(PROC_NULL); in mac_task_check_set_host_exception_ports()
|
| H A D | mac_necp.c | 51 MAC_CHECK(necp_check_open, current_cached_proc_cred(proc), flags); in mac_necp_check_open() 71 MAC_CHECK(necp_check_client_action, current_cached_proc_cred(proc), fg, action); in mac_necp_check_client_action()
|
| H A D | mac_audit.c | 128 MAC_CHECK(proc_check_getauid, current_cached_proc_cred(curp)); in mac_proc_check_getauid() 148 MAC_CHECK(proc_check_setauid, current_cached_proc_cred(curp), auid); in mac_proc_check_setauid() 168 MAC_CHECK(proc_check_getaudit, current_cached_proc_cred(curp)); in mac_proc_check_getaudit() 188 MAC_CHECK(proc_check_setaudit, current_cached_proc_cred(curp), ai); in mac_proc_check_setaudit()
|
| /xnu-10063.101.15/bsd/kern/ ! |
| H A D | kern_xxx.c | 148 error = mac_system_check_reboot(current_cached_proc_cred(p), uap->opt); in reboot()
|
| H A D | kern_guarded.c | 449 p_cred = current_cached_proc_cred(p); in guarded_close_np() 766 kauth_cred_t p_cred = current_cached_proc_cred(p); in falloc_guarded()
|
| H A D | kern_credential.c | 3468 current_cached_proc_cred(proc_t p) in current_cached_proc_cred() function 3482 return mac_label_get(current_cached_proc_cred(PROC_NULL)->cr_label, slot); in current_cached_proc_label_get() 3491 kauth_cred_t cred = current_cached_proc_cred(p); in current_cached_proc_cred_ref()
|
| H A D | kern_descrip.c | 2392 p_cred = current_cached_proc_cred(p); in sys_dup() 2425 kauth_cred_t p_cred = current_cached_proc_cred(p); in sys_dup2() 2814 p_cred = current_cached_proc_cred(p); in sys_fcntl_nocancel() 5318 kauth_cred_t p_cred = current_cached_proc_cred(p); in sys_close() 5327 kauth_cred_t p_cred = current_cached_proc_cred(p); in sys_close_nocancel()
|
| H A D | posix_sem.c | 800 p_cred = current_cached_proc_cred(p); in sem_close()
|
| H A D | kern_mman.c | 436 error = mac_proc_check_map_anon(p, current_cached_proc_cred(p), in mmap()
|
| H A D | kern_event.c | 3039 error = falloc_withinit(p, current_cached_proc_cred(p), in kqueue_internal()
|
| /xnu-10063.101.15/bsd/security/audit/ ! |
| H A D | audit_syscalls.c | 1005 id = current_cached_proc_cred(p)->cr_audit.as_aia_p->ai_auid; in getauid() 1037 scred = current_cached_proc_cred(p); in setauid() 1091 scred = current_cached_proc_cred(p); in getaudit_addr() 1126 error = suser(current_cached_proc_cred(p), &p->p_acflag); in setaudit_addr()
|
| /xnu-10063.101.15/bsd/netinet6/ ! |
| H A D | nd6_send.c | 104 error = mac_system_check_info(current_cached_proc_cred(req->p),
|
| /xnu-10063.101.15/bsd/sys/ ! |
| H A D | filedesc.h | 444 falloc_withinit(__p, current_cached_proc_cred(__p), \
|
| H A D | kauth.h | 244 extern kauth_cred_t current_cached_proc_cred(proc_t) __pure2;
|
| /xnu-10063.101.15/bsd/net/ ! |
| H A D | rtsock.c | 614 cred = current_cached_proc_cred(PROC_NULL); in route_output() 1630 cred = current_cached_proc_cred(PROC_NULL); in sysctl_dumpentry() 1715 cred = current_cached_proc_cred(PROC_NULL); in sysctl_dumpentry_ext() 1781 cred = current_cached_proc_cred(PROC_NULL); in sysctl_iflist() 1952 cred = current_cached_proc_cred(PROC_NULL); in sysctl_iflist2()
|
| H A D | kpi_interface.c | 2300 cred = current_cached_proc_cred(PROC_NULL); in ifnet_guarded_lladdr_copy_bytes()
|
| /xnu-10063.101.15/bsd/vfs/ ! |
| H A D | vfs_syscalls.c | 4522 kauth_cred_t p_cred = current_cached_proc_cred(PROC_NULL); in open1()
|