diff options
author | Mickaël Salaün <mic@digikod.net> | 2016-08-01 17:01:55 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2016-08-08 21:07:02 -0400 |
commit | 09b09cb9c569dcc3577cf064e2561ebf08605454 (patch) | |
tree | 4cd0dafc968923fd6a8d0005e5480683be6e9e3e /tools/perf/scripts/python/stackcollapse.py | |
parent | a4f4528a3174646e654989262afdc8303835fcd5 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions