• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: . Re: API to determine status of System Integrity Protection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: . Re: API to determine status of System Integrity Protection?


  • Subject: Re: . Re: API to determine status of System Integrity Protection?
  • From: Charles Srstka <email@hidden>
  • Date: Tue, 15 Sep 2015 02:48:26 -0500

> On Sep 15, 2015, at 1:37 AM, Stephane Madrau <email@hidden> wrote:
>
> What's wrong with using csr_check() and csr_get_active_config(). That's
> nothing else than what csrutil uses... Are these functions considered as
> SPI ? They are in the kernel sources...
> And using SPI shouldn be worse than parsing a shell tool output...
>
> If these are ok, then this code should do it
> https://github.com/Piker-Alpha/csrstat/blob/master/csrstat.c <https://github.com/Piker-Alpha/csrstat/blob/master/csrstat.c>
>
> --
> Stéphane

Using private APIs is probably the worst possible way to go about doing this (and those are private APIs; if they’re not in the system headers, they’re not guaranteed not to change in the future, even if they’re currently in the source).

Charles

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >. Re: API to determine status of System Integrity Protection? (From: Stephane Madrau <email@hidden>)

  • Prev by Date: . Re: API to determine status of System Integrity Protection?
  • Next by Date: Re: best way to implement a clickable grid?
  • Previous by thread: . Re: API to determine status of System Integrity Protection?
  • Next by thread: Working with NSTextFields
  • Index(es):
    • Date
    • Thread