kernel: Set a SharedMemory object's prot value

This commit is contained in:
apio 2023-08-03 10:30:43 +02:00
parent 641b65da0f
commit 842b212685
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -50,6 +50,7 @@ Result<u64> sys_mmap(Registers*, SyscallArgs args)
} }
shmem = g_shared_memory_map.try_get_ref(shmid); shmem = g_shared_memory_map.try_get_ref(shmid);
shmem->refs++; shmem->refs++;
shmem->prot |= params.prot;
} }
u64 address; u64 address;