Hacker News new | past | comments | ask | show | jobs | submit login

You don't need to do it that way. Boot to macOS Recovery and use csrutil(1) to disable SIP.



Sorry, I mixed up spctl and csrutil. SIP state is stored in an NVRAM variable that is a bitfield of what is allowed. You can't change all bits with csrutil, and you can't set the variable from within macOS, both main and recovery. You have to bypass that mechanism by either patching the macOS kernel to allow setting whatever you want, or booting into an OS that doesn't perform these checks in the first place. And you need to set the bit for IIRC kernel debugging for it to honor the `amfi_get_out_of_my_way` argument.


I am not sure if you can flip the bits in the NVRAM variable, but you can disable SIP from recovery mode including the flag for kernel debugging.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: