#include "asm/unistd_64.h" // for __NR_mlock #include // for size_t #include // for __syscall_2, syscall int mlock(const void *addr, size_t len) { return syscall(mlock, addr, len); }