linux_dsm_epyc7002/arch/um/kernel/skas
Mickaël Salaün 972939e285 um/ptrace: Fix the syscall_trace_leave call
Keep the same semantic as before the commit 26703c636c: 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: 26703c636c ("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>
2016-09-07 09:25:04 -07:00
..
clone.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
Makefile uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
mmu.c mm: cleanup *pte_alloc* interfaces 2016-03-17 15:09:34 -07:00
process.c um: Remove broken SMP support 2015-04-13 21:00:58 +02:00
syscall.c um/ptrace: Fix the syscall_trace_leave call 2016-09-07 09:25:04 -07:00
uaccess.c um: Rework uaccess code 2015-05-31 17:32:36 +02:00