diff options
| author | Tony Jones <[email protected]> | 2007-06-23 17:16:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-24 08:59:12 -0700 |
| commit | 7b018b2888b32284e09bba9cccb5cd2e12199feb (patch) | |
| tree | 040d543d736dffb9b548a9508a0768e041ccb203 /include/linux/debugobjects.h | |
| parent | 266f5aa0970409bf1ebdf9fc4e65a1186eeed3c2 (diff) | |
audit: fix oops removing watch if audit disabled
Removing a watched file will oops if audit is disabled (auditctl -e 0).
To reproduce:
- auditctl -e 1
- touch /tmp/foo
- auditctl -w /tmp/foo
- auditctl -e 0
- rm /tmp/foo (or mv)
Signed-off-by: Tony Jones <[email protected]>
Cc: Al Viro <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions