arm64/elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces
[linux-2.6-microblaze.git] / fs / compat_binfmt_elf.c
index aaad4ca..3068d57 100644 (file)
 #define        arch_setup_additional_pages compat_arch_setup_additional_pages
 #endif
 
+#ifdef compat_elf_read_implies_exec
+#undef elf_read_implies_exec
+#define        elf_read_implies_exec compat_elf_read_implies_exec
+#endif
+
 /*
  * Rename a few of the symbols that binfmt_elf.c will define.
  * These are all local so the names don't really matter, but it