2
0
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:
Todd C. Miller
2014-10-10 13:55:36 -06:00
parent 0be86df4dd
commit 7a901d4c07

View File

@@ -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
};