This happend to me right noww as I tried to write a gui task manager for the GNU/Linux OS
20 points
9 points
*
Doesn’t explain OPs task management example. And won’t crash the kernel, just make things unresponsive
11 points
it didn’t crash the kernel, it just killed every process that isn’t run by the root user, which kind of feels like a crash
4 points
Ah, that definitely would feel like a crash. Sent kill signal to cgroup accidentally? Or just iterate over all processes and signal them all?