diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-06-19 11:27:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-19 12:55:00 +0200 |
commit | 3c3a1726df847aff9db73862040d9f7a3b9fc907 (patch) | |
tree | 093fc193bdaf50044be4a40673bc35d461de11d4 /Userland/Shell/Shell.h | |
parent | c980a5177671aa257673582630c2bf1099195a40 (diff) | |
download | serenity-3c3a1726df847aff9db73862040d9f7a3b9fc907.zip |
Kernel: Make sure threads which don't do any syscalls are terminated
Steps to reproduce:
$ cat loop.c
int main() { for (;;); }
$ gcc -o loop loop.c
$ ./loop
Terminating this process wasn't previously possible because we only
checked whether the thread should be terminated on syscall exit.
Diffstat (limited to 'Userland/Shell/Shell.h')
0 files changed, 0 insertions, 0 deletions