]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/fpu/signal: Change return code of check_xstate_in_sigframe() to boolean
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Sep 2021 13:29:40 +0000 (15:29 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 5 May 2022 07:14:10 +0000 (09:14 +0200)
commitc960223080d04994c3bff015f1472cb26fb1b739
treee97e0549fecde5251e538099b340da3fc5037998
parent9228b3c5a07207062ec995e99fc7d649970d5531
x86/fpu/signal: Change return code of check_xstate_in_sigframe() to boolean

BugLink: https://bugs.launchpad.net/bugs/1967750
__fpu_sig_restore() only needs success/fail information and no detailed
error code.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210908132526.024024598@linutronix.de
(backported from commit be0040144152ed834c369a7830487e5ee4f27080)
Acked-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
arch/x86/kernel/fpu/signal.c