libfs: implement private/shared mapping support
This commit is contained in:
@@ -73,6 +73,7 @@ struct fs_context *fs_context_create(struct fs_allocator *alloc)
|
|||||||
ctx->ctx_temp_object,
|
ctx->ctx_temp_object,
|
||||||
0,
|
0,
|
||||||
TEMP_OBJECT_SIZE,
|
TEMP_OBJECT_SIZE,
|
||||||
|
VM_PRIVATE,
|
||||||
VM_PROT_READ | VM_PROT_WRITE | VM_PROT_USER,
|
VM_PROT_READ | VM_PROT_WRITE | VM_PROT_USER,
|
||||||
&temp_buffer);
|
&temp_buffer);
|
||||||
kern_handle_close(address_space);
|
kern_handle_close(address_space);
|
||||||
|
|||||||
Reference in New Issue
Block a user