diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-10-01 18:09:27 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-10-01 18:09:27 +0200 |
commit | b8a434bc812f9a44fa1ec05e735e57ef6ef74e01 (patch) | |
tree | c0424acf75b609c85103fa42bd90f7e600d2132f /httpd-2.2.9-suenable.patch |
import httpd 2.2.16
Diffstat (limited to 'httpd-2.2.9-suenable.patch')
-rw-r--r-- | httpd-2.2.9-suenable.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httpd-2.2.9-suenable.patch b/httpd-2.2.9-suenable.patch new file mode 100644 index 0000000..2227632 --- /dev/null +++ b/httpd-2.2.9-suenable.patch @@ -0,0 +1,11 @@ +--- httpd-2.2.9/os/unix/unixd.c.suenable ++++ httpd-2.2.9/os/unix/unixd.c +@@ -215,7 +215,7 @@ AP_DECLARE(void) unixd_pre_config(apr_po + } + + if ((wrapper.protection & APR_USETID) && wrapper.user == 0) { +- unixd_config.suexec_enabled = 1; ++ unixd_config.suexec_enabled = access(SUEXEC_BIN, R_OK|X_OK) == 0; + } + } + |