diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-04-09 15:57:20 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-04-09 15:57:20 -0700 |
commit | f1250933e4a2ac09a3d0b25b3877068e12f44da5 (patch) | |
tree | 2781c695ae6681db41e3a1d2445032a5d005d22e /shell.c | |
parent | e2632a15614446a50d7ee37259103b9dbc58abfd (diff) | |
download | vyatta-bash-f1250933e4a2ac09a3d0b25b3877068e12f44da5.tar.gz vyatta-bash-f1250933e4a2ac09a3d0b25b3877068e12f44da5.zip |
Fix command auditing to work right
The command auditing patch had a number of issues:
* was looking at shell_input_line rather than what user entered
* reopened audit file descriptor on each command
* left audit_fd dangling in child
* looked up tty on each command
It still does getcwd() on each command but that probably can't be helped.
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions