Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull execve updates from Eric Biederman: "Last cycle for the Nth time I ran into bugs and quality of implementation issues related to exec that could not be easily be fixed because of the way exec is implemented. So I have been digging into exec and cleanup up what I can. I don't think I have exec sorted out enough to fix the issues I started with but I have made some headway this cycle with 4 sets of changes. - promised cleanups after introducing exec_update_mutex - trivial cleanups for exec - control flow simplifications - remove the recomputation of bprm->cred The net result is code that is a bit easier to understand and work with and a decrease in the number of lines of code (if you don't count the added tests)" * 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (24 commits) exec: Compute file based creds only once exec: Add a per bprm->file version of per_clear binfmt_elf_fdpic: fix execfd build regression selftests/exec: Add binfmt_script regression test exec: Remove recursion from search_binary_handler exec: Generic execfd support exec/binfmt_script: Don't modify bprm->buf and then return -ENOEXEC exec: Move the call of prepare_binprm into search_binary_handler exec: Allow load_misc_binary to call prepare_binprm unconditionally exec: Convert security_bprm_set_creds into security_bprm_repopulate_creds exec: Factor security_bprm_creds_for_exec out of security_bprm_set_creds exec: Teach prepare_exec_creds how exec treats uids & gids exec: Set the point of no return sooner exec: Move handling of the point of no return to the top level exec: Run sync_mm_rss before taking exec_update_mutex exec: Fix spelling of search_binary_handler in a comment exec: Move the comment from above de_thread to above unshare_sighand exec: Rename flush_old_exec begin_new_exec exec: Move most of setup_new_exec into flush_old_exec exec: In setup_new_exec cache current in the local variable me ...
Showing
- Documentation/trace/ftrace.rst 1 addition, 1 deletionDocumentation/trace/ftrace.rst
- arch/alpha/kernel/binfmt_loader.c 2 additions, 9 deletionsarch/alpha/kernel/binfmt_loader.c
- arch/x86/ia32/ia32_aout.c 1 addition, 3 deletionsarch/x86/ia32/ia32_aout.c
- fs/binfmt_aout.c 1 addition, 2 deletionsfs/binfmt_aout.c
- fs/binfmt_elf.c 3 additions, 4 deletionsfs/binfmt_elf.c
- fs/binfmt_elf_fdpic.c 4 additions, 5 deletionsfs/binfmt_elf_fdpic.c
- fs/binfmt_em86.c 2 additions, 11 deletionsfs/binfmt_em86.c
- fs/binfmt_flat.c 1 addition, 3 deletionsfs/binfmt_flat.c
- fs/binfmt_misc.c 10 additions, 59 deletionsfs/binfmt_misc.c
- fs/binfmt_script.c 35 additions, 47 deletionsfs/binfmt_script.c
- fs/exec.c 173 additions, 143 deletionsfs/exec.c
- include/linux/binfmts.h 15 additions, 30 deletionsinclude/linux/binfmts.h
- include/linux/lsm_hook_defs.h 2 additions, 1 deletioninclude/linux/lsm_hook_defs.h
- include/linux/lsm_hooks.h 32 additions, 24 deletionsinclude/linux/lsm_hooks.h
- include/linux/security.h 11 additions, 4 deletionsinclude/linux/security.h
- kernel/cred.c 3 additions, 0 deletionskernel/cred.c
- kernel/events/core.c 1 addition, 1 deletionkernel/events/core.c
- security/apparmor/domain.c 2 additions, 5 deletionssecurity/apparmor/domain.c
- security/apparmor/include/domain.h 1 addition, 1 deletionsecurity/apparmor/include/domain.h
- security/apparmor/lsm.c 1 addition, 1 deletionsecurity/apparmor/lsm.c
Loading
Please register or sign in to comment