]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kdp/kdp.c
xnu-2422.90.20.tar.gz
[apple/xnu.git] / osfmk / kdp / kdp.c
index 02f2d363cf65cfc478ee72f1e55050536b61dac6..817b948293416d44f43efbf7670732f8f3c2224d 100644 (file)
@@ -1295,6 +1295,10 @@ walk_list:
                        if(task->pidsuspended) task_snap->ss_flags |= kPidSuspended;
                        if(task->frozen) task_snap->ss_flags |= kFrozen;
 
+                       if (task->effective_policy.darwinbg ==  1) {
+                               task_snap->ss_flags |= kTaskDarwinBG;
+                       }
+
                        if (task->effective_policy.t_sup_active == 1)
                                task_snap->ss_flags |= kTaskIsSuppressed;