diff options
author | Mickaël Salaün <mic@digikod.net> | 2016-08-02 00:01:55 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-09-07 19:25:04 +0300 |
commit | 972939e28592ec61e2e8334786152be2c80de677 (patch) | |
tree | c3c9dae3adfeee873a083db969bcfa2e700abbd2 /scripts/asn1_compiler.c | |
parent | d060e0f603a4156087813d221d818bb39ec91429 (diff) | |
download | linux-972939e28592ec61e2e8334786152be2c80de677.tar.xz |
um/ptrace: Fix the syscall_trace_leave call
Keep the same semantic as before the commit 26703c636c1f: deallocate
audit context and fake a proper syscall exit.
This fix a kernel panic triggered by the seccomp_bpf test:
> [ RUN ] global.ERRNO_valid
> BUG: failure at kernel/auditsc.c:1504/__audit_syscall_entry()!
> Kernel panic - not syncing: BUG!
Fixes: 26703c636c1f ("um/ptrace: run seccomp after ptrace")
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: James Morris <jmorris@namei.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions