The patch titled Subject: binfmt_elf: PIE: make PF_RANDOMIZE check comment more accurate has been removed from the -mm tree. Its filename was binfmt_elf-pie-make-pf_randomize-check-comment-more-accurate.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jiri Kosina <jkosina@xxxxxxx> Subject: binfmt_elf: PIE: make PF_RANDOMIZE check comment more accurate The comment I originally added in a3defbe5c337db ("binfmt_elf: fix PIE execution with randomization disabled") is not really 100% accurate -- sysctl is not the only way how PF_RANDOMIZE could be forcibly unset in runtime. Another option of course is direct modification of personality flags (i.e. running through setarch wrapper). Make the comment more explicit and accurate. Signed-off-by: Jiri Kosina <jkosina@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/binfmt_elf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN fs/binfmt_elf.c~binfmt_elf-pie-make-pf_randomize-check-comment-more-accurate fs/binfmt_elf.c --- a/fs/binfmt_elf.c~binfmt_elf-pie-make-pf_randomize-check-comment-more-accurate +++ a/fs/binfmt_elf.c @@ -803,7 +803,8 @@ static int load_elf_binary(struct linux_ * follow the loader, and is not movable. */ #ifdef CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE /* Memory randomization might have been switched off - * in runtime via sysctl. + * in runtime via sysctl or explicit setting of + * personality flags. * If that is the case, retain the original non-zero * load_bias value in order to establish proper * non-randomized mappings. _ Patches currently in -mm which might be from jkosina@xxxxxxx are origin.patch linux-next.patch mwave-fix-info-leak-in-mwave_ioctl.patch random-fix-accounting-race-condition-with-lockless-irq-entropy_count-update.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