KextManagerLoadKextWithIdentifier fail to load kext.

时间:2017-06-19 14:02:29

标签: macos kernel-extension xnu

I'm trying to load my kext with the user-space method KextManagerLoadKextWithIdentifier which failed for the following reasons.

default 06:45:47.223261 -0700   kernel  CODE SIGNING: cs_invalid_page(0x1030b8000):
       p=827[client] final status 0x0, allowing (remove VALID) page
default 06:45:47.230176 -0700   kextd   Error: Kext 
       com.my.dd-driver - not found/unable to create.

My driver is indeed unsigned but I've set boot-args with kext-dev-mode=1 to accept unsigned drivers.

If I try to load the driver from terminal using kextload it's working.

Any idea why KextManagerLoadKextWithIdentifier is not working ?

0 个答案:

没有答案