diff options
| author | Mickaël Salaün <[email protected]> | 2016-08-01 21:01:55 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2016-09-07 16:25:04 +0000 |
| commit | 972939e28592ec61e2e8334786152be2c80de677 (patch) | |
| tree | c3c9dae3adfeee873a083db969bcfa2e700abbd2 /drivers/clocksource/timer-atmel-pit.c | |
| parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfo... (diff) | |
| download | kernel-972939e28592ec61e2e8334786152be2c80de677.tar.gz kernel-972939e28592ec61e2e8334786152be2c80de677.zip | |
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 <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Jeff Dike <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: James Morris <[email protected]>
Cc: [email protected]
Signed-off-by: James Morris <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-atmel-pit.c')
0 files changed, 0 insertions, 0 deletions
