#include "asm/unistd_64.h" // for __NR_mprotect #include // for size_t #include // for __syscall_3, syscall int mprotect(void *addr, size_t len, int prot) { return syscall(mprotect, addr, len, prot); }