]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_unixd: use APR_HOOK_MIDDLE for drop_privileges.
authorNick Kew <niq@apache.org>
Sat, 8 Nov 2008 03:18:13 +0000 (03:18 +0000)
committerNick Kew <niq@apache.org>
Sat, 8 Nov 2008 03:18:13 +0000 (03:18 +0000)
We're the canonical module for that hook!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712347 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/unix/mod_unixd.c

index 1588c664e1e1b6c29ada6ebb8d3876d8f7871962..39648b230fec53bb2ef1c48c8b3500a67ffc7cd4 100644 (file)
@@ -373,7 +373,7 @@ static void unixd_hooks(apr_pool_t *pool)
                        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[] = {