aboutsummaryrefslogtreecommitdiff
path: root/src/linux/remap_file_pages.c
blob: a9699ce2e4f7d71c18cf500bacbfda4c47e86ce2 (plain)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <sys/mman.h>
#include "syscall.h"

int remap_file_pages(void *addr, size_t size, int prot, size_t pgoff, int flags)
{
	return syscall(SYS_remap_file_pages, addr, size, prot, pgoff, flags);
}