https://github.com/torvalds/linux
Revision 972939e28592ec61e2e8334786152be2c80de677 authored by Mickaël Salaün on 01 August 2016, 21:01:55 UTC, committed by Kees Cook on 07 September 2016, 16:25:04 UTC
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>
1 parent d060e0f
Tip revision: 972939e28592ec61e2e8334786152be2c80de677 authored by Mickaël Salaün on 01 August 2016, 21:01:55 UTC
um/ptrace: Fix the syscall_trace_leave call
um/ptrace: Fix the syscall_trace_leave call
Tip revision: 972939e
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 20 bytes |
00-INDEX | -rw-r--r-- | 1.3 KB |
active_mm.txt | -rw-r--r-- | 3.7 KB |
balance | -rw-r--r-- | 5.2 KB |
cleancache.txt | -rw-r--r-- | 13.8 KB |
frontswap.txt | -rw-r--r-- | 15.0 KB |
highmem.txt | -rw-r--r-- | 5.7 KB |
hugetlbpage.txt | -rw-r--r-- | 16.8 KB |
hwpoison.txt | -rw-r--r-- | 5.8 KB |
idle_page_tracking.txt | -rw-r--r-- | 4.8 KB |
ksm.txt | -rw-r--r-- | 5.4 KB |
numa | -rw-r--r-- | 8.7 KB |
numa_memory_policy.txt | -rw-r--r-- | 22.6 KB |
overcommit-accounting | -rw-r--r-- | 2.5 KB |
page_migration | -rw-r--r-- | 11.4 KB |
page_owner.txt | -rw-r--r-- | 3.7 KB |
pagemap.txt | -rw-r--r-- | 6.8 KB |
remap_file_pages.txt | -rw-r--r-- | 1.5 KB |
slub.txt | -rw-r--r-- | 12.9 KB |
soft-dirty.txt | -rw-r--r-- | 1.7 KB |
split_page_table_lock | -rw-r--r-- | 3.5 KB |
transhuge.txt | -rw-r--r-- | 22.3 KB |
unevictable-lru.txt | -rw-r--r-- | 29.5 KB |
userfaultfd.txt | -rw-r--r-- | 6.9 KB |
z3fold.txt | -rw-r--r-- | 1.2 KB |
zsmalloc.txt | -rw-r--r-- | 3.0 KB |
zswap.txt | -rw-r--r-- | 5.2 KB |
Computing file changes ...