From: Nick Kew Date: Sat, 8 Nov 2008 03:18:13 +0000 (+0000) Subject: mod_unixd: use APR_HOOK_MIDDLE for drop_privileges. X-Git-Tag: 2.3.0~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d1be6231d41647713422e638d3c4d8ac43149ff;p=thirdparty%2Fapache%2Fhttpd.git mod_unixd: use APR_HOOK_MIDDLE for drop_privileges. 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 --- diff --git a/modules/arch/unix/mod_unixd.c b/modules/arch/unix/mod_unixd.c index 1588c664e1e..39648b230fe 100644 --- a/modules/arch/unix/mod_unixd.c +++ b/modules/arch/unix/mod_unixd.c @@ -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[] = {