Merge tag 'acpi-5.15-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux-2.6-microblaze.git] / fs / binfmt_flat.c
index a1072c6..5d776f8 100644 (file)
@@ -573,7 +573,7 @@ static int load_flat_file(struct linux_binprm *bprm,
                pr_debug("ROM mapping of file (we hope)\n");
 
                textpos = vm_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC,
-                                 MAP_PRIVATE|MAP_EXECUTABLE, 0);
+                                 MAP_PRIVATE, 0);
                if (!textpos || IS_ERR_VALUE(textpos)) {
                        ret = textpos;
                        if (!textpos)