Index: sys/compat/linuxkpi/common/include/linux/slab.h =================================================================== --- sys/compat/linuxkpi/common/include/linux/slab.h +++ sys/compat/linuxkpi/common/include/linux/slab.h @@ -121,7 +121,8 @@ static inline void * __vmalloc(size_t size, gfp_t flags, int other) { - return (malloc(size, M_KMALLOC, linux_check_m_flags(flags))); + other &= M_EXEC; + return (malloc(size, M_KMALLOC, linux_check_m_flags(flags) | other)); } static inline void *