kernel: Set a SharedMemory object's prot value
This commit is contained in:
parent
641b65da0f
commit
842b212685
@ -50,6 +50,7 @@ Result<u64> sys_mmap(Registers*, SyscallArgs args)
|
||||
}
|
||||
shmem = g_shared_memory_map.try_get_ref(shmid);
|
||||
shmem->refs++;
|
||||
shmem->prot |= params.prot;
|
||||
}
|
||||
|
||||
u64 address;
|
||||
|
Loading…
Reference in New Issue
Block a user