git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266f5aa
)
audit: fix oops removing watch if audit disabled
author
Tony Jones
<tonyj@suse.de>
Sun, 24 Jun 2007 00:16:47 +0000
(17:16 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 24 Jun 2007 15:59:12 +0000
(08:59 -0700)
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 <tonyj@suse.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditfilter.c
patch
|
blob
|
history
diff --cc
kernel/auditfilter.c
Simple merge