linux/arch/um/kernel
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
..
skas um/ptrace: Fix the syscall_trace_leave call 2016-09-07 09:25:04 -07:00
asm-offsets.c
config.c.in
dyn.lds.S
early_printk.c
exec.c
exitcode.c
gmon_syms.c
gprof_syms.c
initrd.c um: Eliminate null test after alloc_bootmem 2016-08-04 00:00:06 +02:00
irq.c
kmsg_dump.c
ksyms.c
maccess.c
Makefile um: Support kcov 2016-08-04 00:18:06 +02:00
mem.c tree wide: get rid of __GFP_REPEAT for order-0 allocations part I 2016-06-24 17:23:52 -07:00
physmem.c
process.c Merge branch 'for-linus-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2016-05-27 18:54:59 -07:00
ptrace.c
reboot.c um: Export pm_power_off 2016-03-05 22:17:52 +01:00
sigio.c
signal.c
stacktrace.c
syscall.c
sysrq.c
time.c
tlb.c
trap.c mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
um_arch.c um: Setup physical memory in setup_arch() 2016-08-04 00:00:46 +02:00
umid.c
uml.lds.S
vmlinux.lds.S