[Opencore v0.7.3] Disabling Some Flags in SIP but It Keeps Disabling Apple Internal Flag Instead

Heya, so I want to disable some flags in SIP for installing Yabai (Filesystem Protections and Debugging Restrictions flags). According to lists below, 0A00000 (10 or 0xa) should disable them.

1. CSR_ALLOW_UNTRUSTED_KEXTS - 0x00000001 2. CSR_ALLOW_UNRESTRICED_FS - 0x00000002 3. CSR_ALLOW_TASK_FOR_PID - 0x00000004 4. CSR_ALLOW_KERNEL_DEBUGGER - 0x00000008 5. CSR_ALLOW_APPLE_INTERNAL - 0x00000010 6. CSR_ALLOW_UNRESTRICTED_DTRACE - 0x00000020 7. CSR_ALLOW_UNRESTRICTED_NVRAM - 0x00000040 8. CSR_ALLOW_DEVICE_CONFIGURATION - 0x00000080 9. CSR_ALLOW_ANY_RECOVERY_OS - 0x00000100 10. CSR_ALLOW_UNAPPROVED_KEXTS - 0x00000200 11. CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE - 0x00000400 12. CSR_ALLOW_UNAUTHENTICATED_ROOT - 0x00000800 https://opensource.apple.com/source/xnu/xnu-7195.81.3/bsd/sys/csr.h.auto.html 

However, instead of Debugging Restrictions flag, it disables Apple Internal flag. I wonder where did I go wrong with this? Can anyone help me?

Thanks

submitted by /u/volcia
[link] [comments]