You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2010/06/14 21:39:41 UTC

svn commit: r954608 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c

Author: trawick
Date: Mon Jun 14 19:39:40 2010
New Revision: 954608

URL: http://svn.apache.org/viewvc?rev=954608&view=rev
Log:
add comment about where exec_setuid_cleanup runs

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c?rev=954608&r1=954607&r2=954608&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c Mon Jun 14 19:39:40 2010
@@ -175,6 +175,9 @@ static void log_setid_failure(const char
     write(STDERR_FILENO, errmsg, strlen(errmsg));
 }
 
+/* When suexec is enabled, this runs in the forked child
+ * process prior to exec().
+ */
 static apr_status_t exec_setuid_cleanup(void *dummy)
 {
     if (seteuid(0) == -1) {