yuzu/src/core/hle/kernel
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
..
address_arbiter.cpp core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
address_arbiter.h kernel: Remove unnecessary includes 2018-07-31 10:15:17 -04:00
client_port.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
client_port.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
client_session.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
client_session.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
errors.h kernel/svc: Sanitize heap sizes within svcSetHeapSize() 2018-09-13 21:34:48 -04:00
event.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
event.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
handle_table.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
handle_table.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
hle_ipc.cpp core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
hle_ipc.h hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const 2018-08-09 02:51:38 -04:00
kernel.cpp core: Migrate current_process pointer to the kernel 2018-09-06 20:52:58 -04:00
kernel.h core: Migrate current_process pointer to the kernel 2018-09-06 20:52:58 -04:00
mutex.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
mutex.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
object.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
object.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
process.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
process.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
resource_limit.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
resource_limit.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
scheduler.cpp core: Namespace all code in the arm subdirectory under the Core namespace 2018-08-24 21:50:39 -04:00
scheduler.h core: Namespace all code in the arm subdirectory under the Core namespace 2018-08-24 21:50:39 -04:00
server_port.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
server_port.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
server_session.cpp core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
server_session.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
session.cpp Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
session.h kernel: Move object class to its own source files 2018-08-01 23:34:42 -04:00
shared_memory.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
shared_memory.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
svc.cpp kernel/svc: Sanitize addresses, permissions, and sizes within svcMapSharedMemory() and svcUnmapSharedMemory() 2018-09-13 23:07:23 -04:00
svc.h Add & correct miscellaneous things (#470) 2018-05-25 22:31:54 -04:00
svc_wrap.h svc: Correct parameter type for OutputDebugString() 2018-09-12 04:49:11 -04:00
thread.cpp kernel/errors: Correct error codes for invalid thread priority and invalid processor ID 2018-09-12 05:19:57 -04:00
thread.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
timer.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
timer.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
vm_manager.cpp kernel/vm_manager: Convert loop into std::any_of() 2018-08-02 12:46:15 -04:00
vm_manager.h kernel/vm_manager: Use const where applicable 2018-08-02 12:21:46 -04:00
wait_object.cpp kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
wait_object.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00