commit | 58f1195f1c24ee272ffc7b913c268b781483fff1 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <[email protected]> | Thu Jul 23 22:37:48 2015 |
committer | ChromeOS Commit Bot <[email protected]> | Fri Apr 13 21:38:38 2018 |
tree | 75331d201b724345287f5a9403060d926fd014f9 | |
parent | f6b908222e3c044c3ac920125d3db7c87225281e [diff] |
UPSTREAM: x86/entry/64: Don't use IST entry for #BP stack commit d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9 upstream. There's nothing IST-worthy about #BP/int3. We don't allow kprobes in the small handful of places in the kernel that run at CPL0 with an invalid stack, and 32-bit kernels have used normal interrupt gates for #BP forever. Furthermore, we don't allow kprobes in places that have usergs while in kernel mode, so "paranoid" is also unnecessary. Signed-off-by: Andy Lutomirski <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> BUG=chromium:831269 TEST=trybots (cherry picked from commit c6fe55e30bb6d431ee56cd4bbb582e30766c5e0e) Signed-off-by: Daniel Wang <[email protected]> Change-Id: I09a038a6701e956d66143aedf4ae4535f343ca2d Reviewed-on: https://chromium-review.googlesource.com/1011388 Tested-by: Daniel Wang <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Commit-Queue: Daniel Wang <[email protected]>