summaryrefslogtreecommitdiff
path: root/src/audio_core/buffer.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-13 20:16:43 -0400
committerLioncash <mathew1800@gmail.com>2018-09-13 23:07:23 -0400
commitaccd1f17e451dfe23350055b5c1377846f3dce77 (patch)
tree8a4b6896a20ab7823e2ebe9a97e39af4b27295c7 /src/audio_core/buffer.h
parent496c67fd730cd27ed1a6ce087d224bd2b736ad4b (diff)
kernel/svc: Sanitize addresses, permissions, and sizes within svcMapSharedMemory() and svcUnmapSharedMemory()
Part of the checking done by the kernel is to check if the given address and size are 4KB aligned, as well as checking if the size isn't zero. It also only allows mapping shared memory as readable or read/write, but nothing else, and so we shouldn't allow mapping as anything else either.
Diffstat (limited to 'src/audio_core/buffer.h')
0 files changed, 0 insertions, 0 deletions