blob: c46b9435a97d47b4bf9e1fa2b594306edf143728 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_mlock
#include <stddef.h> // for size_t
#include <syscall.h> // for __syscall_2, syscall
int mlock(const void *addr, size_t len)
{
return syscall(mlock, addr, len);
}
|