我正在尝试使用KextManagerLoadKextWithIdentifier
由于以下原因失败的用户空间方法加载我的 kext。
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.
我的驱动程序确实是未签名的,但我已将 boot-args 设置kext-dev-mode=1
为接受未签名的驱动程序。
如果我尝试使用kextload
它从终端加载驱动程序,它正在工作。
知道为什么KextManagerLoadKextWithIdentifier
不工作吗?