Home
last modified time | relevance | path

Searched refs:privileged (Results 1 – 16 of 16) sorted by relevance

/xnu-11215/bsd/kern/
H A Dprocess_policy.c271 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 Dsys_coalition.c72 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 Dtty_ioctl.c41 tty_ioctl_tioccons(bool privileged) in tty_ioctl_tioccons() argument
63 if (privileged) { in tty_ioctl_tioccons()
/xnu-11215/osfmk/kern/
H A Dexception.h49 boolean_t privileged; /* survives ipc_task_reset */ member
H A Dcoalition.c124 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 Dipc_tt.c246 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 Dcoalition.h182 kern_return_t coalition_create_internal(int type, int role, boolean_t privileged, boolean_t efficie…
H A Dipc_host.c142 realhost.exc_actions[i].privileged = FALSE; in ipc_host_init()
H A Dthread.c2343 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 Din6.c1245 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 Dip6_output.c2379 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 Dhost_priv.defs100 * 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 Din.c1134 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 Derr_libkern.sub66 "(libkern/kext) not privileged", /* 0x4 */
/xnu-11215/doc/arm/
H A Dsme.md55 Hardware places an implementation-defined cap on SVL, and privileged software
/xnu-11215/tools/lldbmacros/
H A Dprocess.py537 if (coal.privileged):