From d4447f4d955d5bfbdec6feec8e332b8c126f474a Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Wed, 25 Jul 2012 00:13:11 +0200 Subject: main: set PR_SET_CHILD_REAPER for MANAGER_USER Become the reaper for all children part of the user session. Tested with several forking services. --- src/shared/missing.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/shared') diff --git a/src/shared/missing.h b/src/shared/missing.h index e600acc0b1..df3fd0e839 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -190,3 +190,7 @@ static inline pid_t gettid(void) { #ifndef PR_SET_NO_NEW_PRIVS #define PR_SET_NO_NEW_PRIVS 38 #endif + +#ifndef PR_SET_CHILD_SUBREAPER +#define PR_SET_CHILD_SUBREAPER 36 +#endif -- cgit v1.2.3-54-g00ecf