Searched refs:apptype (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dtask_policy.c191 if (task->ext_appliedstate.apptype == PROC_POLICY_OSX_APPTYPE_NONE) {
194 switch (task->ext_appliedstate.apptype) {
204 /* reset the apptype so enforcement on background/foregound */
205 task->ext_appliedstate.apptype = PROC_POLICY_OSX_APPTYPE_NONE;
218 } /* switch (task->ext_appliedstate.apptype) */
225 if (task->ext_appliedstate.apptype == PROC_POLICY_OSX_APPTYPE_NONE) {
227 } else { /* apptype != PROC_POLICY_OSX_APPTYPE_NONE */
228 switch (task->ext_appliedstate.apptype) {
242 } /* switch (task->ext_appliedstate.apptype) */
785 if (thread->task->ext_appliedstate.apptype
[all...]
H A Dmk_sp.c135 if ((thread->task->ext_appliedstate.apptype == PROC_POLICY_IOS_APPLE_DAEMON) &&
H A Dtask.h198 uint64_t apptype:4, member in struct:process_policy
H A Dthread.c793 if (parent_task->ext_appliedstate.apptype == PROC_POLICY_IOS_APPLE_DAEMON) {
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_exec.c723 int apptype = 0; local
1129 apptype = PROC_POLICY_IOS_RESV1_APPTYPE;
1131 apptype = PROC_POLICY_IOS_APPLE_DAEMON;
1133 apptype = PROC_POLICY_IOS_APPTYPE;
1135 apptype = PROC_POLICY_OSX_APPTYPE_NONE;
1136 proc_set_task_apptype(p->task, apptype, imgp->ip_new_thread);
1137 if (apptype == PROC_POLICY_IOS_RESV1_APPTYPE)
1142 apptype = PROC_POLICY_IOS_APPLE_DAEMON;
1143 proc_set_task_apptype(p->task, apptype, imgp->ip_new_thread);
1148 apptype
[all...]

Completed in 38 milliseconds