blob: 5c96f9b8c27fa7dbc3c9807b284b8882ad891b91 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_mprotect
#include <stddef.h> // for size_t
#include <syscall.h> // for __syscall_3, syscall
int mprotect(void *addr, size_t len, int prot)
{
return syscall(mprotect, addr, len, prot);
}
|