|
|
|
|
|
by p_l
14 days ago
|
|
One day I forgot about SIGSTOP in a FAANG interview when asked how to stop a forkbomb that already exhausted all PIDs but you have a shell already running. My very dirty trick at last was to abuse the part where forkbomb's code segments should be shared mapping, find out where it is in memory, then do corewars style overwrite with piece of code that would cause the process to exit (corewars classic would be divide by zero). Nevertheless, I should have used SIGSTOP xD |
|