aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-06-09 19:18:00 +0000
committerBorislav Petkov <[email protected]>2021-06-10 06:04:24 +0000
commitefa165504943f2128d50f63de0c02faf6dcceb0d (patch)
tree2bd01cbb7e1e6f455394dfaa058997e30c38c3cc /net/unix/af_unix.c
parentx86/pkru: Write hardware init value to PKRU when xstate is init (diff)
downloadkernel-efa165504943f2128d50f63de0c02faf6dcceb0d.tar.gz
kernel-efa165504943f2128d50f63de0c02faf6dcceb0d.zip
x86/fpu: Reset state for all signal restore failures
If access_ok() or fpregs_soft_set() fails in __fpu__restore_sig() then the function just returns but does not clear the FPU state as it does for all other fatal failures. Clear the FPU state for these failures as well. Fixes: 72a671ced66d ("x86, fpu: Unify signal handling code paths for x86 and x86_64 kernels") Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions