]> git.baikalelectronics.ru Git - kernel.git/commit
Audit: use == not = in if statements
authorEric Paris <eparis@redhat.com>
Mon, 18 Feb 2008 23:23:16 +0000 (18:23 -0500)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 19 Feb 2008 02:46:28 +0000 (18:46 -0800)
commitb79d387e8748008478e9b3c4eebdb0a4765d6c60
treecb07f92693df0135ac546b965b909b48d7645dde
parentc6699129fe95f4912e5910241139ba5d893db8f2
Audit: use == not = in if statements

Clearly this was supposed to be an == not an = in the if statement.
This patch also causes us to stop processing execve args once we have
failed rather than continuing to loop on failure over and over and over.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditsc.c