Post

Replies

Boosts

Views

Activity

How to force Auxiliary Kext collection to be rebuilt on BigSur
We have kernel extension - which works fine after setting the security level to allow 3rd party Kexts. However, we are unable to uninstall the Kext. Tried calling kumtil unload + removing the Kext from /Library/Extensions + reboot. Also tried clear-staging. But the only way to remove the kext from the aux. collection is to use the trigger-panic-medic from Recovery mode. Thanks. Devendra. ps: Note that if we install a newer version - the aux. kext collection gets rebuilt correctly.
0
0
1.1k
Feb ’21
xpc connection event handler not being called with XPC_ERROR_CONNECTION_INVALID
Hi, I'm working on creating an xpc service, using the C APIs (gets launched from launchd via plist) and an application that wants to use this service. Generally it works fine, communication is proper and as expected. However, in case the service's plist has not been installed in /Library/LaunchDaemons, the client gets stuck! Neither the event handler (set with xpcconnectionseteventhandler) nor the reply block provided to xpcconnectionsendmessagewithreply get called. If I use xpcconnectionsendmessagewithreplysync() - it never returns! So how is a client to know that the service is not available in this case? My assumption was that in such a case the event handler would be called with XPCERRORCONNECTIONINVALID. Thanks in advance! Devendra.
3
0
1.6k
Feb ’21