The patch titled Subject: elf: don't hash userspace addresses has been added to the -mm tree. Its filename is elf-dont-hash-userspace-addresses.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/elf-dont-hash-userspace-addresses.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/elf-dont-hash-userspace-addresses.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: elf: don't hash userspace addresses Link: http://lkml.kernel.org/r/20180504212308.GA7564@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/binfmt_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/binfmt_elf.c~elf-dont-hash-userspace-addresses fs/binfmt_elf.c --- a/fs/binfmt_elf.c~elf-dont-hash-userspace-addresses +++ a/fs/binfmt_elf.c @@ -379,8 +379,8 @@ static unsigned long elf_map(struct file if ((type & MAP_FIXED_NOREPLACE) && PTR_ERR((void *)map_addr) == -EEXIST) - pr_info("%d (%s): Uhuuh, elf segment at %px requested but the memory is mapped already\n", - task_pid_nr(current), current->comm, (void *)addr); + pr_info("%d (%s): Uhuuh, elf segment at %lx requested but the memory is mapped already\n", + task_pid_nr(current), current->comm, addr); return(map_addr); } _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are proc-more-unsigned-int-in-proc-cmdline.patch proc-somewhat-simpler-code-for-proc-cmdline.patch proc-simpler-iterations-for-proc-cmdline.patch proc-deduplicate-proc-cmdline-implementation.patch proc-smaller-rcu-section-in-getattr.patch proc-use-unsigned-int-in-proc_fill_cache.patch proc-skip-branch-in-proc-lookup.patch proc-use-unsigned-int-for-sigqueue-length.patch proc-use-unsigned-int-for-proc-stack.patch elf-dont-hash-userspace-addresses.patch coredump-fix-spam-with-zero-vma-process.patch seq_file-delete-small-value-optimization.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html