Skip to content
Commit 8d5ea35c authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86/entry: Consolidate check_user_regs()



The user register sanity check is sprinkled all over the place. Move it
into enter_from_user_mode().

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200722220519.943016204@linutronix.de
parent b35ad840
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment