# git rev-parse -q --verify 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d^{commit} 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d already have revision, skipping fetch # git checkout -q -f -B kisskb 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d # git clean -qxdf # < git log -1 # commit 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d # Merge: f7464060f7ab 592ca09be833 # Author: Linus Torvalds # Date: Sat Sep 4 11:35:47 2021 -0700 # # 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() # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/block/mq-deadline.c:274:12: warning: 'dd_queued' defined but not used [-Wunused-function] static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio) ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_probe': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:317:9: warning: returning 'struct net_device *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return dev; ^~~ /kisskb/src/fs/binfmt_aout.c: In function 'load_aout_library': /kisskb/src/fs/binfmt_aout.c:311:27: error: expected ')' before ';' token MAP_FIXED | MAP_PRIVATE; ^ /kisskb/src/fs/binfmt_aout.c:309:10: error: too few arguments to function 'vm_mmap' error = vm_mmap(file, start_addr, ex.a_text + ex.a_data, ^~~~~~~ In file included from /kisskb/src/fs/binfmt_aout.c:12: /kisskb/src/include/linux/mm.h:2626:35: note: declared here extern unsigned long __must_check vm_mmap(struct file *, unsigned long, ^~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:277: fs/binfmt_aout.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1869: fs] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:02:08.543818