diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-06-26 16:00:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-06-26 16:00:17 +0000 |
commit | ca300c13b6f782b0c5ba7212a2460110d6b64e4e (patch) | |
tree | c24146ac9f0ad122dbaf00a89eb4adb1bea00520 /lib/libc/sys | |
parent | 9f69600d9be177f6f95bd655689f08118e51aabb (diff) |
Do not redirect STDERR of the main security(8) script to /dev/null,
not even for calling three particular functions, as that carries a risk
of hiding serious errors in the security(8) script itself: otto@ found
and reported a bug (already fixed by now) where that hurt him.
Instead, only do the redirection where it is really needed, that is,
inside the forked csh(1) child process. The csh(1) "eval" builtin is
required because the csh(1) "source" builtin apparently ignores
redirections.
No objections came up when showing this diff on tech@.
Diffstat (limited to 'lib/libc/sys')
0 files changed, 0 insertions, 0 deletions