]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - httpd-2.0.48-corelimit.patch
- updated to 2.4.59
[packages/apache.git] / httpd-2.0.48-corelimit.patch
index 1496b4ba64eb2fb4bf4eaa51f46a900d95cc7cf4..c3007fe71202bd6024dd64568d122ab770c924b9 100644 (file)
@@ -4,10 +4,10 @@ is configured.
 
 --- httpd-2.0.48/server/core.c.corelimit
 +++ httpd-2.0.48/server/core.c
-@@ -4233,6 +4233,25 @@
-     ap_set_version(pconf);
+@@ -4424,6 +4424,25 @@
      ap_setup_make_content_type(pconf);
+     ap_setup_auth_internal(ptemp);
+     ap_setup_ssl_optional_fns(pconf);
 +
 +#ifdef RLIMIT_CORE
 +    if (ap_coredumpdir_configured) {
@@ -27,6 +27,7 @@ is configured.
 +    }
 +#endif
 +
-     return OK;
- }
+     if (!sys_privileges) {
+         ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL, APLOGNO(00136)
+                      "Server MUST relinquish startup privileges before "
+