]> granicus.if.org Git - sudo/commit
Instead of hard-coding a check for bash functions in env_should_delete(),
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 3 Jun 2017 14:43:32 +0000 (08:43 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 3 Jun 2017 14:43:32 +0000 (08:43 -0600)
commite1e2162dcf921b0cd1756b88bcdefda5f9aea490
tree33055876a86de795b70c0b447bfa4f02960649bf
parent0ab00964ec50547c9c3ba8e24af96fc8ae4cd262
Instead of hard-coding a check for bash functions in env_should_delete(),
use a "*=()* " pattern in initial_badenv_table[] to match them instead.
This allows the user to remove the check via env_delete.
doc/sudoers.cat
doc/sudoers.man.in
doc/sudoers.mdoc.in
plugins/sudoers/env.c