]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ipc/mach_debug.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / ipc / mach_debug.c
index 903fc3bde881f12ba1e56b0e48b95a3e827f42f5..6ad851ac5ed8f3dfb2a62232a606b8b838db9bbc 100644 (file)
@@ -203,7 +203,7 @@ mach_port_space_info(
        }
 
 #if !(DEVELOPMENT || DEBUG) && CONFIG_MACF
-       const boolean_t dbg_ok = (mac_task_check_expose_task(kernel_task) == 0);
+       const boolean_t dbg_ok = (mac_task_check_expose_task(kernel_task, TASK_FLAVOR_CONTROL) == 0);
 #else
        const boolean_t dbg_ok = TRUE;
 #endif