1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __ASM_MMAN_H__ 3 #define __ASM_MMAN_H__ 4 5 #include <asm/system_info.h> 6 #include <uapi/asm/mman.h> 7 8 static inline bool arch_memory_deny_write_exec_supported(void) 9 { 10 return cpu_architecture() >= CPU_ARCH_ARMv6; 11 } 12 #define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported 13 14 #endif /* __ASM_MMAN_H__ */ 15
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.