]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ipc/mach_debug.c
xnu-3789.1.32.tar.gz
[apple/xnu.git] / osfmk / ipc / mach_debug.c
index 25c472e15b962a9c18982320bf6faddcf3af1dbc..972073a71e512a528ed6888a8b4a7f6b47fbc755 100644 (file)
@@ -188,7 +188,7 @@ mach_port_space_info(
        if (space == IS_NULL)
                return KERN_INVALID_TASK;
 
-#if !(DEVELOPMENT | DEBUG)
+#if !(DEVELOPMENT || DEBUG) && CONFIG_MACF
        const boolean_t dbg_ok = (mac_task_check_expose_task(kernel_task) == 0);
 #else
        const boolean_t dbg_ok = TRUE;