API to determine status of System Integrity Protection?
API to determine status of System Integrity Protection?
- Subject: API to determine status of System Integrity Protection?
- From: James Bucanek <email@hidden>
- Date: Fri, 04 Sep 2015 13:47:13 -0700
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden