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: NThomas Gleixner <tglx@linutronix.de> Reviewed-by: NKees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20200722220519.943016204@linutronix.de
Showing
想要评论请 注册 或 登录