Browse Source
kernel/handle_table: Allow process capabilities to limit the handle table size
kernel/handle_table: Allow process capabilities to limit the handle table size
The kernel allows restricting the total size of the handle table through the process capability descriptors. Until now, this functionality wasn't hooked up. With this, the process handle tables become properly restricted. In the case of metadata-less executables, the handle table will assume the maximum size is requested, preserving the behavior that existed before these changes.nce_cpp
6 changed files with 54 additions and 10 deletions
-
1src/core/hle/kernel/errors.h
-
26src/core/hle/kernel/handle_table.cpp
-
21src/core/hle/kernel/handle_table.h
-
8src/core/hle/kernel/process.cpp
-
4src/core/hle/kernel/process_capability.cpp
-
4src/core/hle/kernel/process_capability.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue