diff options
author | Chang S. Bae <[email protected]> | 2020-05-28 16:13:53 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-18 15:47:02 +0200 |
commit | 005f141e5d5e05d3986539567d0bc5aa2f4dc640 (patch) | |
tree | 8483e6be0a7c3040c858b1dd5026c176b4f1e551 /scripts/gdb/linux/timerlist.py | |
parent | 673903495c85137791d5820d690229efe09c8f7b (diff) |
x86/process/64: Use FSGSBASE instructions on thread copy and ptrace
When FSGSBASE is enabled, copying threads and reading fsbase and gsbase
using ptrace must read the actual values.
When copying a thread, use save_fsgs() and copy the saved values. For
ptrace, the bases must be read from memory regardless of the selector if
FSGSBASE is enabled.
[ tglx: Invoke __rdgsbase_inactive() with interrupts disabled ]
[ luto: Massage changelog ]
Suggested-by: Andy Lutomirski <[email protected]>
Signed-off-by: Chang S. Bae <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions