summaryrefslogtreecommitdiff
path: root/os/unix
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2010-11-10 15:34:43 +0000
committerJeff Trawick <trawick@apache.org>2010-11-10 15:34:43 +0000
commitd4d90bdf0a9ba330901b17f52bdbe8303220256c (patch)
treeda19c3d308fcfed38df3fde1145dbd5ea12d7b54 /os/unix
parent38064564e91a34da75a9f575a6d779c0102f741e (diff)
downloadhttpd-d4d90bdf0a9ba330901b17f52bdbe8303220256c.tar.gz
suEXEC: Add Suexec directive to disable suEXEC without renaming the
binary (Suexec Off), or force startup failure if suEXEC is required but not supported (Suexec On). Change SuexecUserGroup to fail startup instead of just printing a warning if suEXEC is disabled. Additionally, ap_unixd_config.suexec_disabled_reason has a message, suitable for logging/messaging, explaining why the feature isn't available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1033519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/unix')
-rw-r--r--os/unix/unixd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/unix/unixd.h b/os/unix/unixd.h
index c9d6ea96a2..6b8a79ae32 100644
--- a/os/unix/unixd.h
+++ b/os/unix/unixd.h
@@ -77,6 +77,7 @@ typedef struct {
gid_t group_id;
int suexec_enabled;
const char *chroot_dir;
+ const char *suexec_disabled_reason; /* suitable msg if !suexec_enabled */
} unixd_config_rec;
AP_DECLARE_DATA extern unixd_config_rec ap_unixd_config;