OSDN Git Service

alpha: fix syscall entry in !AUDUT_SYSCALL case
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Sep 2021 22:18:48 +0000 (18:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Oct 2022 03:31:15 +0000 (23:31 -0400)
commitf7b2431a6d22f7a91c567708e071dfcd6d66db14
treef0dd74bb29b574e3688c211043fc4881c3d913f0
parent71ac548bfd318930e3040d96c25f361b5d558296
alpha: fix syscall entry in !AUDUT_SYSCALL case

We only want to take the slow path if SYSCALL_TRACE or SYSCALL_AUDIT is
set; on !AUDIT_SYSCALL configs the current tree hits it whenever _any_
thread flag (including NEED_RESCHED, NOTIFY_SIGNAL, etc.) happens to
be set.

Fixes: a9302e843944 "alpha: Enable system-call auditing support"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/kernel/entry.S