mirror of https://git.suyu.dev/suyu/suyu
kernel/svc: Sanitize creation of shared memory via svcCreateSharedMemory()
The kernel caps the size limit of shared memory to 8589930496 bytes (or (1GB - 512 bytes) * 8), so approximately 8GB, where every GB has a 512 byte sector taken off of it. It also ensures the shared memory is created with either read or read/write permissions for both permission types passed in, allowing the remote permissions to also be set as "don't care".merge-requests/60/head
parent
accd1f17e4
commit
4f8756edd0
Loading…
Reference in New Issue