| /xnu-11215/bsd/kern/ |
| H A D | process_policy.c | 271 Boolean privileged = FALSE; in handle_cpuuse() local 284 privileged = TRUE; in handle_cpuuse() 289 if (!privileged) { in handle_cpuuse() 290 privileged = (priv_check_cred(kauth_cred_get(), PRIV_PROC_CPUMON_OVERRIDE, 0) == 0); in handle_cpuuse() 292 canEnable = (privileged && action == PROC_POLICY_ACTION_ENABLE); in handle_cpuuse() 341 privileged); in handle_cpuuse() 346 error = proc_clear_task_ruse_cpu(proc_task(proc), privileged); in handle_cpuuse()
|
| H A D | sys_coalition.c | 72 boolean_t privileged = !!(flags & COALITION_CREATE_FLAGS_PRIVILEGED); in coalition_create_syscall() local 82 kr = coalition_create_internal(type, role, privileged, efficient, &coal, &cid); in coalition_create_syscall()
|
| /xnu-11215/tests/ |
| H A D | tty_ioctl.c | 41 tty_ioctl_tioccons(bool privileged) in tty_ioctl_tioccons() argument 63 if (privileged) { in tty_ioctl_tioccons()
|
| /xnu-11215/osfmk/kern/ |
| H A D | exception.h | 49 boolean_t privileged; /* survives ipc_task_reset */ member
|
| H A D | coalition.c | 124 kern_return_t (*init)(coalition_t coal, boolean_t privileged, boolean_t efficient); 249 static kern_return_t i_coal_jetsam_init(coalition_t coal, boolean_t privileged, boolean_t efficient… 294 uint32_t privileged : 1; /* Members of this coalition may create member 587 i_coal_resource_init(coalition_t coal, boolean_t privileged, boolean_t efficient) in i_coal_resource_init() argument 589 #pragma unused(privileged, efficient) in i_coal_resource_init() 1065 i_coal_jetsam_init(coalition_t coal, boolean_t privileged, boolean_t efficient) in i_coal_jetsam_init() argument 1068 (void)privileged; in i_coal_jetsam_init() 1331 kr = coal_call(new_coal, init, privileged, efficient); in coalition_create_internal() 1340 new_coal->privileged = privileged ? TRUE : FALSE; in coalition_create_internal() 1590 return coal->privileged || unrestrict_coalition_syscalls; in coalition_is_privileged() [all …]
|
| H A D | ipc_tt.c | 246 task->exc_actions[i].privileged = FALSE; in ipc_task_init() 728 && !task->hardened_exception_action.ea.privileged) { in ipc_task_reset() 740 if (!task->exc_actions[i].privileged) { in ipc_task_reset() 1230 if (tro->tro_exc_actions[i].privileged) { in ipc_thread_reset() 4332 action->privileged = privileged; in thread_set_exception_ports_internal() 4407 boolean_t privileged = task_is_privileged(current_task()); in task_set_exception_ports() local 4455 task->exc_actions[i].privileged = privileged; in task_set_exception_ports() 4594 action->privileged = privileged; in thread_swap_exception_ports() 4635 boolean_t privileged = task_is_privileged(current_task()); in task_swap_exception_ports() local 4703 task->exc_actions[i].privileged = privileged; in task_swap_exception_ports() [all …]
|
| H A D | coalition.h | 182 kern_return_t coalition_create_internal(int type, int role, boolean_t privileged, boolean_t efficie…
|
| H A D | ipc_host.c | 142 realhost.exc_actions[i].privileged = FALSE; in ipc_host_init()
|
| H A D | thread.c | 2343 set_vm_privilege(boolean_t privileged) in set_vm_privilege() argument 2353 if (privileged != FALSE) { in set_vm_privilege()
|
| /xnu-11215/bsd/netinet6/ |
| H A D | in6.c | 1245 if (!privileged) { in in6_control() 1255 if (!privileged) { in in6_control() 1309 if (!privileged) { in in6_control() 1317 if (!privileged) { in in6_control() 1326 if (!privileged) { in in6_control() 1334 if (!privileged) { in in6_control() 1342 if (!privileged) { in in6_control() 1353 if (!privileged) { in in6_control() 1365 if (!privileged) { in in6_control() 1385 if (!privileged) { in in6_control() [all …]
|
| H A D | ip6_output.c | 2379 int privileged; in ip6_ctloutput() local 2395 privileged = (proc_suser(p) == 0); in ip6_ctloutput() 2453 if (!privileged) { in ip6_ctloutput() 2694 if (!privileged) { in ip6_ctloutput() 2701 if (!privileged) { in ip6_ctloutput() 2806 len, privileged); in ip6_ctloutput()
|
| /xnu-11215/osfmk/mach/ |
| H A D | host_priv.defs | 100 * Only available to privileged users. 108 * Return privileged statistics from this host. 336 * Access to this port is restricted to privileged clients because
|
| /xnu-11215/bsd/netinet/ |
| H A D | in.c | 1134 boolean_t privileged = (proc_suser(p) == 0); in in_control() local 1177 if (!privileged) { in in_control() 1185 if (!privileged) { in in_control() 1200 if (!privileged) { in in_control() 1208 if (!privileged) { in in_control() 1215 if (!privileged) { in in_control() 1241 if (!privileged) { in in_control() 1254 if (!privileged) { in in_control()
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_libkern.sub | 66 "(libkern/kext) not privileged", /* 0x4 */
|
| /xnu-11215/doc/arm/ |
| H A D | sme.md | 55 Hardware places an implementation-defined cap on SVL, and privileged software
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | process.py | 537 if (coal.privileged):
|