mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Apple uses a different variant of the BASH_FUNC prefix for bash
functions.
This commit is contained in:
@@ -171,6 +171,7 @@ static const char *initial_badenv_table[] = {
|
||||
"RUBYLIB", /* ruby, library load path */
|
||||
"RUBYOPT", /* ruby, extra command line options */
|
||||
"BASH_FUNC_*", /* new-style bash functions */
|
||||
"__BASH_FUNC<*", /* new-style bash functions (Apple) */
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user