summaryrefslogtreecommitdiff
path: root/src/audio_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-13 21:04:43 -0400
committerLioncash <mathew1800@gmail.com>2018-09-13 23:07:27 -0400
commit4f8756edd06d76af33208047a5ed9b776132d97a (patch)
tree11ef5693f5d6ed3e1c040ffe2ee1b0981f07314c /src/audio_core
parentaccd1f17e451dfe23350055b5c1377846f3dce77 (diff)
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".
Diffstat (limited to 'src/audio_core')
0 files changed, 0 insertions, 0 deletions