summaryrefslogtreecommitdiff
path: root/src/mman/mprotect.c
blob: 1db2aea2f127afeab663822b839981a36e9220f1 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/mman.h>
#include "syscall.h"

int mprotect(void *addr, size_t len, int prot)
{
	return syscall(SYS_mprotect, addr, len, prot);
}