Greetings,

Is there an API that can be queried to determine if System Integrity Protection is currently enabled on the system? Or, more specifically, is there a way to determine if the filesystem protections are being enforced? For example, is this status reported by sysctl() or statfs()?

I know there's the csrutil command line tool, which I could launch and parse the results, but ... really?

I develop backup and recovery software and I'd like to make decisions based on whether SIP is enabled or not.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (Filesystem-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to