diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-06-23 14:02:25 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-06-23 19:59:57 +0200 |
commit | 99a5901951b70251965b0d1542d4a8c616842a99 (patch) | |
tree | 70ed262ce12c1b64082cee0da8775efacffd6456 /kernel/acct.c | |
parent | x86/fpu: Mark init_fpstate __ro_after_init (diff) | |
download | linux-99a5901951b70251965b0d1542d4a8c616842a99.tar.xz linux-99a5901951b70251965b0d1542d4a8c616842a99.zip |
x86/fpu/signal: Move initial checks into fpu__restore_sig()
__fpu__restore_sig() is convoluted and some of the basic checks can
trivially be done in the calling function as well as the final error
handling of clearing user state.
[ bp: Fixup typos. ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210623121457.086336154@linutronix.de
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions