You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2008/11/08 04:18:14 UTC

svn commit: r712347 - /httpd/httpd/trunk/modules/arch/unix/mod_unixd.c

Author: niq
Date: Fri Nov  7 19:18:13 2008
New Revision: 712347

URL: http://svn.apache.org/viewvc?rev=712347&view=rev
Log:
mod_unixd: use APR_HOOK_MIDDLE for drop_privileges.
We're the canonical module for that hook!

Modified:
    httpd/httpd/trunk/modules/arch/unix/mod_unixd.c

Modified: httpd/httpd/trunk/modules/arch/unix/mod_unixd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/arch/unix/mod_unixd.c?rev=712347&r1=712346&r2=712347&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/arch/unix/mod_unixd.c (original)
+++ httpd/httpd/trunk/modules/arch/unix/mod_unixd.c Fri Nov  7 19:18:13 2008
@@ -373,7 +373,7 @@
                        NULL, NULL, APR_HOOK_FIRST);
 
     ap_hook_drop_privileges(unixd_drop_privileges,
-                            NULL, NULL, APR_HOOK_FIRST);
+                            NULL, NULL, APR_HOOK_MIDDLE);
 }
 
 static const command_rec unixd_cmds[] = {