It used to be possible to call __vmalloc
and pass in PAGE_KERNEL_EXEC
to allocate executable space in older Linux kernels.
I'm using 5.15.55
and __vmalloc
doesn't even take that parameter anymore, it takes one less.
How do I allocate executable space in LKM for newer kernel versions?