linux/arch
Linus Torvalds 49624efa65 Merge tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linux
Pull MAP_DENYWRITE removal from David Hildenbrand:
 "Remove all in-tree usage of MAP_DENYWRITE from the kernel and remove
  VM_DENYWRITE.

  There are some (minor) user-visible changes:

   - We no longer deny write access to shared libaries loaded via legacy
     uselib(); this behavior matches modern user space e.g. dlopen().

   - We no longer deny write access to the elf interpreter after exec
     completed, treating it just like shared libraries (which it often
     is).

   - We always deny write access to the file linked via /proc/pid/exe:
     sys_prctl(PR_SET_MM_MAP/EXE_FILE) will fail if write access to the
     file cannot be denied, and write access to the file will remain
     denied until the link is effectivel gone (exec, termination,
     sys_prctl(PR_SET_MM_MAP/EXE_FILE)) -- just as if exec'ing the file.

  Cross-compiled for a bunch of architectures (alpha, microblaze, i386,
  s390x, ...) and verified via ltp that especially the relevant tests
  (i.e., creat07 and execve04) continue working as expected"

* tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linux:
  fs: update documentation of get_write_access() and friends
  mm: ignore MAP_DENYWRITE in ksys_mmap_pgoff()
  mm: remove VM_DENYWRITE
  binfmt: remove in-tree usage of MAP_DENYWRITE
  kernel/fork: always deny write access to current MM exe_file
  kernel/fork: factor out replacing the current MM exe_file
  binfmt: don't use MAP_DENYWRITE when loading shared libraries via uselib()
2021-09-04 11:35:47 -07:00
..
alpha Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
arc Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
arm Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
arm64 Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
csky Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
h8300 asm-generic changes for 5.15 2021-09-01 15:13:02 -07:00
hexagon dma-mapping updates for Linux 5.15 2021-09-02 10:32:06 -07:00
ia64 Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
m68k Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
microblaze Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
mips Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
nds32 Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
nios2 asm-generic changes for 5.15 2021-09-01 15:13:02 -07:00
openrisc Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
parisc Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
powerpc Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
riscv Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
s390 Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
sh Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
sparc Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
um Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
x86 Merge tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linux 2021-09-04 11:35:47 -07:00
xtensa Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
.gitignore
Kconfig