mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
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
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user