commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1239144 - /commons/proper/daemon/branches/1.0.x/src/native/unix/native/jsvc-unix.c
Date Wed, 01 Feb 2012 14:27:19 GMT
Author: mturk
Date: Wed Feb  1 14:27:18 2012
New Revision: 1239144

URL: http://svn.apache.org/viewvc?rev=1239144&view=rev
Log:
DAEMON-232: Axe process group setting

Modified:
    commons/proper/daemon/branches/1.0.x/src/native/unix/native/jsvc-unix.c

Modified: commons/proper/daemon/branches/1.0.x/src/native/unix/native/jsvc-unix.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/branches/1.0.x/src/native/unix/native/jsvc-unix.c?rev=1239144&r1=1239143&r2=1239144&view=diff
==============================================================================
--- commons/proper/daemon/branches/1.0.x/src/native/unix/native/jsvc-unix.c (original)
+++ commons/proper/daemon/branches/1.0.x/src/native/unix/native/jsvc-unix.c Wed Feb  1 14:27:18
2012
@@ -650,13 +650,6 @@ static int child(arg_data *args, home_da
             return ret;
     }
 
-    /* create a new process group to prevent kill 0 killing the monitor process */
-#if defined(OS_FREEBSD) || defined(OS_DARWIN)
-    setpgid(0, 0);
-#else
-    setpgrp();
-#endif
-
 #ifdef OS_LINUX
     /* setuid()/setgid() only apply the current thread so we must do it now */
     if (linuxset_user_group(args->user, uid, gid) != 0)



Mime
View raw message