Skip to content

Commit

Permalink
Add mprotect syscall
Browse files Browse the repository at this point in the history
JIRA: RTOS-666
  • Loading branch information
badochov committed Nov 21, 2023
1 parent 8f30b74 commit f9fdd1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/sys/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ extern void *mmap(void *vaddr, size_t size, int prot, int flags, int fildes, off
extern int munmap(void *vaddr, size_t size);


extern int mprotect(void *vaddr, size_t len, int prot);


extern addr_t va2pa(void *va);


Expand Down

0 comments on commit f9fdd1c

Please sign in to comment.