feat: overhaul userspace heap and virtual memory
This commit is contained in:
@@ -10,10 +10,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Anonymous-memory mmap over SYS_ALLOC. SYS_ALLOC returns
|
||||
* page-aligned process memory, which is exactly what callers like
|
||||
* GCC's page allocator need. File-backed mappings are not
|
||||
* supported and fail with ENODEV.
|
||||
* Demand-paged anonymous memory backed by the kernel's VMA subsystem.
|
||||
* File-backed and shared mappings are not supported and fail cleanly.
|
||||
*/
|
||||
|
||||
#define PROT_NONE 0
|
||||
|
||||
Reference in New Issue
Block a user