]> git.hungrycats.org Git - linux/commit
MIPS: secure_computing, syscall audit: syscall number should in r2, not r0.
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 28 Sep 2010 17:50:27 +0000 (18:50 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:47:22 +0000 (12:47 -0400)
commit83264a0f19be3fe69f5c9048210bb39402fb57db
tree533f7ddf183929d8036c56b3296de19db8160a05
parent48adbc4b330cefb3b77111e47c17e833404893ef
MIPS: secure_computing, syscall audit: syscall number should in r2, not r0.

commit e5b377a8fb7b05f27647698ac739a0504cb2bf80 upstream.

As it is, audit_syscall_entry() and secure_computing() get the
bogus value (0, in fact)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1697/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/mips/kernel/ptrace.c