binfmt_elf: PIE: make PF_RANDOMIZE check comment more accurate
[cascardo/linux.git] / fs / binfmt_elf.c
index 86af964..e32344b 100644 (file)
@@ -803,7 +803,8 @@ static int load_elf_binary(struct linux_binprm *bprm)
                         * 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.