diff options
-rw-r--r-- | fs/binfmt_elf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 86af964c2425..e32344bdfab1 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -803,7 +803,8 @@ static int load_elf_binary(struct linux_binprm *bprm) | |||
803 | * follow the loader, and is not movable. */ | 803 | * follow the loader, and is not movable. */ |
804 | #ifdef CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE | 804 | #ifdef CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE |
805 | /* Memory randomization might have been switched off | 805 | /* Memory randomization might have been switched off |
806 | * in runtime via sysctl. | 806 | * in runtime via sysctl or explicit setting of |
807 | * personality flags. | ||
807 | * If that is the case, retain the original non-zero | 808 | * If that is the case, retain the original non-zero |
808 | * load_bias value in order to establish proper | 809 | * load_bias value in order to establish proper |
809 | * non-randomized mappings. | 810 | * non-randomized mappings. |