diff options
author | Andy Lutomirski <[email protected]> | 2019-07-15 10:08:48 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-26 22:00:12 +0100 |
commit | 8e05f1b4f27d07a0f93e7c6fd28525a5d082b85c (patch) | |
tree | 0bcf277c56d26e3f4b2f0d033847892fdd1496d3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 0337b7ebfcb8efb4ea0a9f2b2f284217a1c0e62d (diff) |
x86/ptrace: Remove set_segment_reg() implementations for current
seg_segment_reg() should be unreachable with task == current.
Rather than confusingly trying to make it work, just explicitly
disable this case.
(regset->get is used for current in the coredump code, but the ->set
interface is only used for ptrace, and you can't ptrace yourself.)
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions