diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-03-24 08:21:04 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-03-24 08:21:04 +0100 |
commit | ea8928fb799b042740b834100683ff3735575a84 (patch) | |
tree | eece4f8e297969fa360ab8fe62dacc83d176f317 /httpd-2.2.11-corelimit.patch | |
parent | 3c8484bdace98d4eaa41ec80e1cc07b7ebf1753e (diff) |
httpd: remove all
Diffstat (limited to 'httpd-2.2.11-corelimit.patch')
-rw-r--r-- | httpd-2.2.11-corelimit.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/httpd-2.2.11-corelimit.patch b/httpd-2.2.11-corelimit.patch deleted file mode 100644 index ea9f857..0000000 --- a/httpd-2.2.11-corelimit.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- httpd-2.2.11/server/core.c.corelimit -+++ httpd-2.2.11/server/core.c -@@ -3777,6 +3779,25 @@ static int core_post_config(apr_pool_t * - - set_banner(pconf); - ap_setup_make_content_type(pconf); -+ -+#ifdef RLIMIT_CORE -+ if (ap_coredumpdir_configured) { -+ struct rlimit lim; -+ -+ if (getrlimit(RLIMIT_CORE, &lim) == 0 && lim.rlim_cur == 0) { -+ lim.rlim_cur = lim.rlim_max; -+ if (setrlimit(RLIMIT_CORE, &lim) == 0) { -+ ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL, -+ "core dump file size limit raised to %lu bytes", -+ lim.rlim_cur); -+ } else { -+ ap_log_error(APLOG_MARK, APLOG_NOTICE, errno, NULL, -+ "core dump file size is zero, setrlimit failed"); -+ } -+ } -+ } -+#endif -+ - return OK; - } - |