Skip to content

Commit 721e224

Browse files
CBSearsopcm
authored andcommitted
added instructions for disabling SIP or signing KEXTs
Added a documentation section for kext signatures
1 parent befffdc commit 721e224

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

MAC_HOWTO.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ Then do the following:
2424
3) copy MSRKernel.h to a location on your path (auto-install uses /usr/include)
2525
4) copy MSRAccessorPublic.h as MSRAccessor.h to a location on your path (auto-install uses /usr/include)
2626

27+
kext Signatures
28+
---------------
29+
As of OS X El Capitan, kexts must be signed. So after building the kext, kextload.sh may fail with:
30+
31+
/System/Library/Extensions/PcmMsrDriver.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).
32+
33+
In this event, you will need to either disable System Integrity Protection or sign the kext.
34+
You can disable SIP by rebooting into Recovery (reboot, command-option-R), opening a shell, csrutil disable and reboot again.
35+
Signing a kext is more involved. You can't self-sign and will first need to obtain a Developer ID from Apple:
36+
37+
https://developer.apple.com/contact/kext/
38+
39+
With this ID, you can then sign your kext with codesign.
40+
2741
PCM Binary Compilation
2842
----------------------
2943

0 commit comments

Comments
 (0)