diff options
author | Andy Lutomirski <[email protected]> | 2021-02-09 18:33:43 -0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-02-10 14:41:19 +0100 |
commit | 6456a2a69ee16ad402f26d272d0b67ce1d25061f (patch) | |
tree | fed986756e3ea05d7d3c56231d8b7524762267a0 /net/unix/unix_bpf.c | |
parent | 5042d40a264c8a508d58ed71e4c07b05175b3635 (diff) |
x86/fault: Rename no_context() to kernelmode_fixup_or_oops()
The name no_context() has never been very clear. It's only called for
faults from kernel mode, so rename it and change the no-longer-useful
user_mode(regs) check to a WARN_ON_ONCE.
Signed-off-by: Andy Lutomirski <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/c21940efe676024bb4bc721f7d70c29c420e127e.1612924255.git.luto@kernel.org
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions