suyu/src/core/hle
Lioncash accd1f17e4 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.
2018-09-13 23:07:23 -04:00
..
kernel kernel/svc: Sanitize addresses, permissions, and sizes within svcMapSharedMemory() and svcUnmapSharedMemory() 2018-09-13 23:07:23 -04:00
service Merge pull request #1297 from lioncash/pl 2018-09-12 16:03:53 -04:00
ipc.h ipc: minor fix 2018-09-13 11:59:23 -05:00
ipc_helpers.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h hle/result: Make ResultVal's move constructor as noexcept 2018-08-28 09:39:50 -04:00