Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
mprotect.c File Reference
#include "hal/cpu/core.h"
#include "hal/cpu/paging.h"
#include "libk/serial.h"
#include "memory/memory_utils.h"
#include "memory/vm_manager.h"
#include "sys/err_no.h"
#include <sys/syscall.h>

Go to the source code of this file.

Functions

int syscall_mprotect (void *addr, size_t len, int prot)
 

Function Documentation

◆ syscall_mprotect()

int syscall_mprotect ( void * addr,
size_t len,
int prot )