]> 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)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 15 Aug 2022 16:25:32 +0000 (11:25 -0500)
commit638939131e728671266c0c22b5b0ac503c647403
tree29be9e3a01cb7862c297a41d1ce91b7701ec495f
parent18433e3bb952f99e293d712a5b5f9a6fafe743fc
nios2: traced syscall does need to check the syscall number

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

Fixes: 8a05c485086f ("nios2: Exception handling")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/nios2/kernel/entry.S