mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
axe the remaining checks of AP_MPM_WANT_foo to see what code to generate
MPMs no longer provide those definitions (the signal server support is an interesting problem, since it has to be known before loading loading the MPM) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -203,7 +203,6 @@ unixd_drop_privileges(apr_pool_t *pool, server_rec *s)
|
||||
}
|
||||
#if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE)
|
||||
/* this applies to Linux 2.4+ */
|
||||
#ifdef AP_MPM_WANT_SET_COREDUMPDIR
|
||||
if (ap_coredumpdir_configured) {
|
||||
if (prctl(PR_SET_DUMPABLE, 1)) {
|
||||
rv = errno;
|
||||
@ -214,7 +213,6 @@ unixd_drop_privileges(apr_pool_t *pool, server_rec *s)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return OK;
|
||||
@ -359,7 +357,6 @@ AP_DECLARE(int) ap_unixd_setup_child(void)
|
||||
}
|
||||
#if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE)
|
||||
/* this applies to Linux 2.4+ */
|
||||
#ifdef AP_MPM_WANT_SET_COREDUMPDIR
|
||||
if (ap_coredumpdir_configured) {
|
||||
if (prctl(PR_SET_DUMPABLE, 1)) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
|
||||
@ -368,7 +365,6 @@ AP_DECLARE(int) ap_unixd_setup_child(void)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user