]>
Commit | Line | Data |
---|---|---|
0e467b1f AM |
1 | |
2 | Set SIGXFSZ to be ignored, so a write() beyond 2gb will fail with | |
3 | E2BIG rather than killing the process | |
4 | ||
5 | --- ./server/mpm/prefork/prefork.c.xfsz Wed Jul 17 22:39:55 2002 | |
6 | +++ ./server/mpm/prefork/prefork.c Mon Aug 26 15:40:24 2002 | |
7 | @@ -461,7 +461,7 @@ | |
8 | ap_log_error(APLOG_MARK, APLOG_WARNING, errno, ap_server_conf, "sigaction(SIGXCPU)"); | |
9 | #endif | |
10 | #ifdef SIGXFSZ | |
11 | - sa.sa_handler = SIG_DFL; | |
12 | + sa.sa_handler = SIG_IGN; | |
13 | if (sigaction(SIGXFSZ, &sa, NULL) < 0) | |
14 | ap_log_error(APLOG_MARK, APLOG_WARNING, errno, ap_server_conf, "sigaction(SIGXFSZ)"); | |
15 | #endif |