From: Todd C. Miller Date: Fri, 11 Dec 2015 00:14:56 +0000 (-0700) Subject: Add BASHOPTS to initial_badenv_table[]; from Stephane Chazelas X-Git-Tag: SUDO_1_8_16^2~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=290dafda3b24027e18ae83dab05e386597be81a7;p=sudo Add BASHOPTS to initial_badenv_table[]; from Stephane Chazelas --- diff --git a/plugins/sudoers/env.c b/plugins/sudoers/env.c index de7283499..a50ac8132 100644 --- a/plugins/sudoers/env.c +++ b/plugins/sudoers/env.c @@ -145,7 +145,8 @@ static const char *initial_badenv_table[] = { "BASH_ENV", /* bash, file to source before script runs */ "PS4", /* bash, prefix for lines in xtrace mode */ "GLOBIGNORE", /* bash, globbing patterns to ignore */ - "SHELLOPTS", /* bash, extra command line options */ + "BASHOPTS", /* bash, initial "shopt -s" options */ + "SHELLOPTS", /* bash, initial "set -o" options */ "JAVA_TOOL_OPTIONS", /* java, extra command line options */ "PERLIO_DEBUG ", /* perl, debugging output file */ "PERLLIB", /* perl, search path for modules/includes */