#include "libc.h"
Functions | |
void * | mmap_file (void *addr, size_t len, int prot, int flags, int fd, off_t offset) |
int | munmap_file (void *addr, size_t len) |
int | getpagesize () |
void * | mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset) |
int | mprotect (void *addr, size_t len, int prot) |
int | munmap (void *addr, size_t len) |
|
|
|
|
|
|
|
temporary *bad* implementation as it unmaps addr before remappint it with new protection |
|
|
|
|