Messages in this thread | | | Date | Thu, 16 Jul 2020 13:57:54 -0700 | From | Kees Cook <> | Subject | Re: [patch V3 07/13] x86/ptrace: Provide pt_regs helpers for entry/exit |
| |
On Thu, Jul 16, 2020 at 08:22:15PM +0200, Thomas Gleixner wrote: > As a preparatory step for moving the syscall and interrupt entry/exit > handling into generic code, provide pt_regs helpers which allow to: > > - Retrieve the syscall number from pt_regs > - Retrieve the syscall return value from pt_regs > - Retrieve the interrupt state from pt_regs to check whether interrupts > are reenabled by return from interrupt/exception. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
-- Kees Cook
| |