aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-06-23 14:02:23 +0200
committerBorislav Petkov <[email protected]>2021-06-23 19:55:51 +0200
commit72a6c08c44e4460e39315ca828f60b8d5afd6b19 (patch)
tree385a8cb9ee0dc549709a9afd559e3095cd645db1 /scripts/gdb/linux/proc.py
parent0e8c54f6b2c8b1037cef9276e451522ee90ed969 (diff)
x86/pkru: Remove xstate fiddling from write_pkru()
The PKRU value of a task is stored in task->thread.pkru when the task is scheduled out. PKRU is restored on schedule in from there. So keeping the XSAVE buffer up to date is a pointless exercise. Remove the xstate fiddling and cleanup all related functions. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions