aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdeps/tryprsetchildsubreaper.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-10-22 14:13:58 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-10-22 14:13:58 +0000
commitb41f7406424e0b3f2d069e2c9c9f3e925c42c67e (patch)
tree4a5c2b94258f86c94b71da29a21a04234f7549d3 /src/sysdeps/tryprsetchildsubreaper.c
parent4945adc1fffd0641a0a273bcedeb52f3bba653bf (diff)
downloadskalibs-b41f7406424e0b3f2d069e2c9c9f3e925c42c67e.tar.gz
Change prsetchildsubreaper sysdep to prctl, add procctl sysdep
Diffstat (limited to 'src/sysdeps/tryprsetchildsubreaper.c')
-rw-r--r--src/sysdeps/tryprsetchildsubreaper.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/sysdeps/tryprsetchildsubreaper.c b/src/sysdeps/tryprsetchildsubreaper.c
deleted file mode 100644
index 6a65691..0000000
--- a/src/sysdeps/tryprsetchildsubreaper.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/* ISC license. */
-
-#undef _POSIX_C_SOURCE
-#undef _XOPEN_SOURCE
-
-#include <sys/prctl.h>
-
-int main (void)
-{
- prctl(PR_SET_CHILD_SUBREAPER, 1) ;
- return 0 ;
-}