From 925841e4d29a70c13d34889a386ba3c46555173a Mon Sep 17 00:00:00 2001 From: andreastaliad Date: Mon, 25 May 2026 15:48:41 +0300 Subject: [PATCH] Restore repo to 90f149e state --- fork_bomb/fork_bomb.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fork_bomb/fork_bomb.c b/fork_bomb/fork_bomb.c index 579294c..cfe4dbc 100644 --- a/fork_bomb/fork_bomb.c +++ b/fork_bomb/fork_bomb.c @@ -6,8 +6,6 @@ #include #include #include -#include -#include #define DEFAULT_NUM_LEN 512 @@ -289,12 +287,6 @@ int main(void) } if (pid == 0) { - if (prctl(PR_SET_PDEATHSIG, SIGKILL) != 0) { - _exit(1); - } - if (getppid() == 1) { - _exit(0); - } pause(); return 0; }