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:
0af3678
)
audit: fix two bugs in the new execve audit code
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Fri, 27 Jul 2007 22:55:18 +0000
(
00:55
+0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 29 Jul 2007 02:42:22 +0000
(19:42 -0700)
copy_from_user() returns the number of bytes not copied, hence 0 is the
expected output.
axi->mm might not be valid anymore when not equal to current->mm, do not
dereference before checking that - thanks to Al for spotting that.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditsc.c
patch
|
blob
|
history
diff --cc
kernel/auditsc.c
Simple merge