blob: 43b0ef18a80c33a105a3e7c5501b9d6e0fc4956c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 032_suexec_is_shared by Adam Conrad <adconrad@0c3.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch to allow suEXEC as shared.
@DPATCH@
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -266,6 +266,10 @@
/* Check for suexec */
unixd_config.suexec_enabled = 0;
+ /* If mod_suexec isn't linked in, we shouldn't test for the binary */
+ if (ap_find_linked_module("mod_suexec.c") == NULL) {
+ return;
+ }
if ((apr_stat(&wrapper, SUEXEC_BIN,
APR_FINFO_NORM, ptemp)) != APR_SUCCESS) {
return;
|