mirror of
https://github.com/hexagonal-sun/moss-kernel.git
synced 2025-12-23 22:47:55 -05:00
syscalls: mprotect: implement
Implement the `mprotect` syscall. Including a bunch of tests for ensuring proper VMA functionality regarding splitting and merging via `mprotect`.
This commit is contained in:
committed by
Matthew Leach
parent
baf98c452f
commit
910203e0c2
@@ -226,7 +226,7 @@
|
||||
| 0xdf (223) | fadvise64_64 | (int fd, loff_t offset, loff_t len, int advice) | __arm64_sys_fadvise64_64 | false |
|
||||
| 0xe0 (224) | swapon | (const char *specialfile, int swap_flags) | __arm64_sys_swapon | false |
|
||||
| 0xe1 (225) | swapoff | (const char *specialfile) | __arm64_sys_swapoff | false |
|
||||
| 0xe2 (226) | mprotect | (unsigned long start, size_t len, unsigned long prot) | __arm64_sys_mprotect | false |
|
||||
| 0xe2 (226) | mprotect | (unsigned long start, size_t len, unsigned long prot) | __arm64_sys_mprotect | true |
|
||||
| 0xe3 (227) | msync | (unsigned long start, size_t len, int flags) | __arm64_sys_msync | false |
|
||||
| 0xe4 (228) | mlock | (unsigned long start, size_t len) | __arm64_sys_mlock | false |
|
||||
| 0xe5 (229) | munlock | (unsigned long start, size_t len) | __arm64_sys_munlock | false |
|
||||
|
||||
Reference in New Issue
Block a user