by a-no-n · 10y ago · 0 comments
/* must be run as root */
#include <signal.h>
main(){for(;;){kill(-1,SIGCONT);sleep(10);}}
and a .plist. Temporary hackaround. -1 If superuser, broadcast the signal to all processes; otherwise
broadcast to all processes belonging to the user.
(This is on macOS/iOS, Linux might have slightly different semantics.) -1
All processes with pid larger than 1 will be signaled.