• Linus Torvalds's avatar
    Merge tag 'execve-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 72fda6c8
    Linus Torvalds authored
    Pull execve updates from Kees Cook:
    
     - Use value of kernel.randomize_va_space once per exec (Alexey
       Dobriyan)
    
     - Honor PT_LOAD alignment for static PIE
    
     - Make bprm->argmin only visible under CONFIG_MMU
    
     - Add KUnit testing of bprm_stack_limits()
    
    * tag 'execve-v6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      exec: Avoid pathological argc, envc, and bprm->p values
      execve: Keep bprm->argmin behind CONFIG_MMU
      ELF: fix kernel.randomize_va_space double read
      exec: Add KUnit test for bprm_stack_limits()
      binfmt_elf: Honor PT_LOAD alignment for static PIE
      binfmt_elf: Calculate total_size earlier
      selftests/exec: Build both static and non-static load_address tests
    72fda6c8
exec.c 53.4 KB