]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitb0abcfc14605b2a8c686bd8e193ab05b01a7980b
treecb07f92693df0135ac546b965b909b48d7645dde
parentf702c5815696bfca095cc1173fff6995c4d39844
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