mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
readd suexec setuid and user check
Related to PR: 28287 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103510 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -213,10 +213,9 @@ AP_DECLARE(void) unixd_pre_config(apr_pool_t *ptemp)
|
||||
return;
|
||||
}
|
||||
|
||||
/* XXX - apr_stat is incapable of checking suid bits (grumble) */
|
||||
/* if ((wrapper.filetype & S_ISUID) && wrapper.user == 0) { */
|
||||
if ((wrapper.protection & APR_USETID) && wrapper.user == 0) {
|
||||
unixd_config.suexec_enabled = 1;
|
||||
/* } */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user