Post

Replies

Boosts

Views

Activity

Reply to System Extension Signature Problem
I think I have figured it out. The reason the driver was not loading was because incorrect values in IOKitPersonalities. Without realizing this mistake, I was looking everywhere and inevitably looked at the System Information -> Software -> Extensions section from where I got the above error message. That error message is still valid -- it means that the driver is not signed and therefore cannot be loaded by the default kernel which has the protections in place. However, in a kernel with SIP disabled, and with systemextensionsctl developer on, the driver will be loaded by the kernel upon demand (But it'll still show the above message in System Information -> Software -> Extensions panel).
Jul ’20
Reply to Driverkit __Require macro
I couldn't even find the relevant header to include to get it. I had to declare it myself and include it in my sample code. #define __Require(assertion, exceptionLabel)                \ do                                   \ {                                    \ if ( __builtin_expect(!(assertion), 0) )              \ {                                  \ goto exceptionLabel;                      \ }                                  \ } while ( 0 ) #define __Require_Action(assertion, exceptionLabel, action)        \ do                                   \ {                                    \ if ( __builtin_expect(!(assertion), 0) )              \ {                                  \ {                                \ action;                           \ }                                \ goto exceptionLabel;                      \ }                                  \ } while ( 0 )
Jul ’20
Reply to When is DriverKit going to actually be useable?
Also don't forget to $ systemextensionsctl developer on to allow system extensions to be launched from the accompanying app during development cycle. By default system extensions will only be loaded if the apps are launched from /Applications folder. The above command disables this check. See here - https://developer.apple.com/documentation/driverkit/debugging_and_testing_system_extensions?changes=latest_minor.
Jul ’20