• Linus Torvalds's avatar
    Merge tag 'execve-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 7fc03505
    Linus Torvalds authored
    Pull execve updates from Kees Cook:
     "Most are small refactorings and bug fixes, but three things stand out:
      switching timens (which got reverted before) looks solid now,
      FOLL_FORCE has been removed (no failures seen yet across several weeks
      in -next), and some whitespace cleanups (which are long overdue).
    
       - Add timens support (when switching mm). This version has survived
         in -next for the entire cycle (Andrei Vagin)
    
       - Various small bug fixes, refactoring, and readability improvements
         (Bernd Edlinger, Rolf Eike Beer, Bo Liu, Li Zetao Liu Shixin)
    
       - Remove FOLL_FORCE for stack setup (Kees Cook)
    
       - Whitespace cleanups (Rolf Eike Beer, Kees Cook)"
    
    * tag 'execve-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      binfmt_misc: fix shift-out-of-bounds in check_special_flags
      binfmt: Fix error return code in load_elf_fdpic_binary()
      exec: Remove FOLL_FORCE for stack setup
      binfmt_elf: replace IS_ERR() with IS_ERR_VALUE()
      binfmt_elf: simplify error handling in load_elf_phdrs()
      binfmt_elf: fix documented return value for load_elf_phdrs()
      exec: simplify initial stack size expansion
      binfmt: Fix whitespace issues
      exec: Add comments on check_unsafe_exec() fs counting
      ELF uapi: add spaces before '{'
      selftests/timens: add a test for vfork+exit
      fs/exec: switch timens when a task gets a new mm
    7fc03505
exec.c 51.4 KB