]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: traced syscall does need to check the syscall number
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Aug 2022 15:07:21 +0000 (16:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:18:27 +0000 (11:18 +0200)
commit2451c6653d187cc129d982b5fc4fc62d49c74f1c
tree893778b2a82ee6157393b9e53af0bc4ac8056da3
parent30693ab067f6f52655d8cdad81f29805a4681261
nios2: traced syscall does need to check the syscall number

commit 63dc339aaa824240a6effb33944045760d4b574d upstream.

all checks done before letting the tracer modify the register
state are worthless...

Fixes: 94128c9936ba ("nios2: Exception handling")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/nios2/kernel/entry.S