1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle
Lioncash 5eb057f422 kernel/object: Amend handle types to distinguish between readable and writable events
Two kernel object should absolutely never have the same handle ID type.
This can cause incorrect behavior when it comes to retrieving object
types from the handle table. In this case it allows converting a
WritableEvent into a ReadableEvent and vice-versa, which is undefined
behavior, since the object types are not the same.

This also corrects ClearEvent() to check both kernel types like the
kernel itself does.
2018-12-04 02:20:47 -05:00
..
kernel kernel/object: Amend handle types to distinguish between readable and writable events 2018-12-04 02:20:47 -05:00
service Merge pull request #1835 from lioncash/cache-global 2018-12-03 17:11:26 -05:00
ipc.h kernel/errors: Remove now-unused, unnecessary, error codes 2018-10-24 14:58:37 -04:00
ipc_helpers.h hle_ipc: Add member function for querying the existence of a domain header 2018-10-29 23:28:04 -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 file_sys/errors: Extract FS-related error codes to file_sys/errors.h 2018-11-16 00:13:50 -05:00