I am using the sandbox for my Mac application. I need to set the property for IOKit so
IORegistryEntrySetCFProperty(reg, CFSTR("IORequestIdle"), kCFBooleanTrue);
Due to the use of the sandbox, the system will not allow me to do this. If I disable the application sandbox, the property will be set correctly.
The error message I get in the console is as follows:
deny iokit-set-properties IORequestIdle
Is there a way to set a temporary right so that I can do it right. If so, how do I do this?
source
share