summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/fpu/signal.c
AgeCommit message (Expand)AuthorFilesLines
2021-10-16x86/fpu: Mask out the invalid MXCSR bits properlyBorislav Petkov1-1/+1
2021-10-08x86/fpu: Restore the masking out of reserved MXCSR bitsBorislav Petkov1-3/+8
2021-06-24x86/fpu/signal: Let xrstor handle the features to initThomas Gleixner1-58/+31
2021-06-23x86/fpu/signal: Handle #PF in the direct restore pathThomas Gleixner1-34/+33
2021-06-23x86/fpu/signal: Split out the direct restore codeThomas Gleixner1-54/+58
2021-06-23x86/fpu/signal: Sanitize copy_user_to_fpregs_zeroing()Thomas Gleixner1-21/+15
2021-06-23x86/fpu/signal: Sanitize the xstate check on sigframeThomas Gleixner1-37/+33
2021-06-23x86/fpu/signal: Remove the legacy alignment checkThomas Gleixner1-3/+0
2021-06-23x86/fpu/signal: Move initial checks into fpu__restore_sig()Thomas Gleixner1-35/+41
2021-06-23x86/fpu: Rename xfeatures_mask_user() to xfeatures_mask_uabi()Thomas Gleixner1-5/+5
2021-06-23x86/fpu: Rename __fpregs_load_activate() to fpregs_restore_userregs()Thomas Gleixner1-1/+1
2021-06-23x86/fpu: Rename xstate copy functions which are related to UABIThomas Gleixner1-1/+1
2021-06-23x86/fpu: Rename fregs-related copy functionsThomas Gleixner1-3/+3
2021-06-23x86/fpu: Rename fxregs-related copy functionsThomas Gleixner1-5/+5
2021-06-23x86/fpu: Rename copy_user_to_xregs() and copy_xregs_to_user()Thomas Gleixner1-2/+2
2021-06-23x86/fpu: Rename copy_xregs_to_kernel() and copy_kernel_to_xregs()Thomas Gleixner1-10/+11
2021-06-23x86/fpu: Get rid of copy_supervisor_to_kernel()Thomas Gleixner1-5/+8
2021-06-23Merge x86/urgent into x86/fpuBorislav Petkov1-37/+43
2021-06-22x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()Thomas Gleixner1-18/+8
2021-06-10x86/fpu: Reset state for all signal restore failuresThomas Gleixner1-11/+15
2021-06-09x86/fpu: Invalidate FPU state after a failed XRSTOR from a user bufferAndy Lutomirski1-0/+19
2021-06-09x86/fpu: Prevent state corruption in __fpu__restore_sig()Thomas Gleixner1-8/+1
2021-05-19x86/signal: Introduce helpers to get the maximum signal frame sizeChang S. Bae1-0/+19
2020-07-27x86: switch to ->regset_get()Al Viro1-1/+2
2020-06-26x86: copy_fpstate_to_sigframe(): have fpregs_soft_get() use kernel bufferAl Viro1-6/+6
2020-05-16x86/fpu/xstate: Restore supervisor states for signal returnYu-cheng Yu1-5/+39
2020-05-16x86/fpu/xstate: Preserve supervisor states for the slow path in __fpu__restor...Yu-cheng Yu1-25/+28
2020-05-13x86/fpu/xstate: Update sanitize_restored_xstate() for supervisor xstatesYu-cheng Yu1-13/+24
2020-05-13x86/fpu/xstate: Define new functions for clearing fpregs and xstatesFenghua Yu1-2/+2
2020-05-13x86/fpu/xstate: Separate user and supervisor xfeatures maskYu-cheng Yu1-5/+11
2020-05-12x86/fpu/xstate: Rename validate_xstate_header() to validate_user_xstate_header()Fenghua Yu1-1/+1
2020-01-07x86/fpu: Deactivate FPU state after failure during state loadSebastian Andrzej Siewior1-0/+3
2019-06-08x86/fpu: Update kernel's FPU state before using for the fsave headerSebastian Andrzej Siewior1-0/+5
2019-06-06x86/fpu: Use fault_in_pages_writeable() for pre-faultingHugh Dickins1-9/+2
2019-05-06x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() failsSebastian Andrzej Siewior1-16/+15
2019-04-12x86/fpu: Restore regs in copy_fpstate_to_sigframe() in order to use the fastpathSebastian Andrzej Siewior1-12/+13
2019-04-12x86/fpu: Add a fastpath to copy_fpstate_to_sigframe()Sebastian Andrzej Siewior1-12/+22
2019-04-12x86/fpu: Add a fastpath to __fpu__restore_sig()Sebastian Andrzej Siewior1-2/+21
2019-04-12x86/fpu: Defer FPU state load until return to userspaceRik van Riel1-19/+30
2019-04-12x86/fpu: Merge the two code paths in __fpu__restore_sig()Sebastian Andrzej Siewior1-85/+54
2019-04-12x86/fpu: Restore from kernel memory on the 64-bit path tooSebastian Andrzej Siewior1-13/+49
2019-04-11x86/fpu: Inline copy_user_to_fpregs_zeroing()Sebastian Andrzej Siewior1-1/+19
2019-04-11x86/fpu: Prepare copy_fpstate_to_sigframe() for TIF_NEED_FPU_LOADRik van Riel1-1/+11
2019-04-11x86/fpu: Always store the registers in copy_fpstate_to_sigframe()Rik van Riel1-5/+14
2019-04-10x86/fpu: Remove user_fpu_begin()Sebastian Andrzej Siewior1-1/+0
2019-04-10x86/fpu: Don't save fxregs for ia32 frames in copy_fpstate_to_sigframe()Sebastian Andrzej Siewior1-4/+0
2019-04-09x86/fpu: Remove fpu->initialized usage in copy_fpstate_to_sigframe()Sebastian Andrzej Siewior1-27/+8
2019-04-09x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()Sebastian Andrzej Siewior1-25/+15
2019-04-03x86/fpu: Fix __user annotationsJann Horn1-3/+3
2019-01-04Remove 'type' argument from access_ok() functionLinus Torvalds1-2/+2