diff options
| -rw-r--r-- | arch/x86/kernel/vsyscall_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c index 7d9eb4bc10ac..2dcc6ff6fdcc 100644 --- a/arch/x86/kernel/vsyscall_64.c +++ b/arch/x86/kernel/vsyscall_64.c | |||
| @@ -206,6 +206,7 @@ bool emulate_vsyscall(struct pt_regs *regs, unsigned long address) | |||
| 206 | "seccomp tried to change syscall nr or ip"); | 206 | "seccomp tried to change syscall nr or ip"); |
| 207 | do_exit(SIGSYS); | 207 | do_exit(SIGSYS); |
| 208 | } | 208 | } |
| 209 | regs->orig_ax = -1; | ||
| 209 | if (tmp) | 210 | if (tmp) |
| 210 | goto do_ret; /* skip requested */ | 211 | goto do_ret; /* skip requested */ |
| 211 | 212 | ||
