|
Yep.. stuck my code in the white papers section.. probably too late to use until next year, but a good read nonetheless
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}
Visit my completely useless website! http://randomperson.cjb.net
|