diff options
| author | Thomas Gleixner <[email protected]> | 2020-07-22 22:00:03 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-07-24 13:04:58 +0000 |
| commit | 0bf019ea59e330770883ede4499d7f711d8c3adf (patch) | |
| tree | 07150fe5b0a97ab49df838b06a6445bf9192eaf0 /arch/x86/entry/common.c | |
| parent | x86/entry: Move user return notifier out of loop (diff) | |
| download | kernel-0bf019ea59e330770883ede4499d7f711d8c3adf.tar.gz kernel-0bf019ea59e330770883ede4499d7f711d8c3adf.zip | |
x86/ptrace: Provide pt_regs helper for entry/exit
As a preparatory step for moving the syscall and interrupt entry/exit
handling into generic code, provide a pt_regs helper which retrieves the
interrupt state from pt_regs. This is required to check whether interrupts
are reenabled by return from interrupt/exception.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/entry/common.c')
0 files changed, 0 insertions, 0 deletions
