0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.HLE/HOS/Services
Alex Barney 19afb3209c
Update to LibHac 0.13.1 (#2328)
Update the LibHac dependency to version 0.13.1. This brings a ton of improvements and changes such as:
- Refactor `FsSrv` to match the official refactoring done in FS.
- Change how the `Horizon` and `HorizonClient` classes are handled. Each client created represents a different process with its own process ID and client state.
- Add FS access control to handle permissions for FS service method calls.
- Add FS program registry to keep track of the program ID, location and permissions of each process.
- Add FS program index map info manager to track the program IDs and indexes of multi-application programs.
- Add all FS IPC interfaces.
- Rewrite `Fs.Fsa` code to be more accurate.
- Rewrite a lot of `FsSrv` code to be more accurate.
- Extend directory save data to store `SaveDataExtraData`
- Extend directory save data to lock the save directory to allow only one accessor at a time.
- Improve waiting and retrying when encountering access issues in `LocalFileSystem` and `DirectorySaveDataFileSystem`.
- More `IFileSystemProxy` methods should work now.
- Probably a bunch more stuff.

On the Ryujinx side:
- Forward most `IFileSystemProxy` methods to LibHac.
- Register programs and program index map info when launching an application.
- Remove hacks and workarounds for missing LibHac functionality.
- Recreate missing save data extra data found on emulator startup.
- Create system save data that wasn't indexed correctly on an older LibHac version.

`FsSrv` now enforces access control for each process. When a process tries to open a save data file system, FS reads the save's extra data to determine who the save owner is and if the caller has permission to open the save data. Previously-created save data did not have extra data created when the save was created.
With access control checks in place, this means that processes with no permissions (most games) wouldn't be able to access their own save data. The extra data can be partially created from data in the save data indexer, which should be enough for access control purposes.
2021-07-13 01:19:28 -07:00
..
Account Update to LibHac 0.13.1 (#2328) 2021-07-13 01:19:28 -07:00
Am Update to LibHac 0.13.1 (#2328) 2021-07-13 01:19:28 -07:00
Apm Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Arp Update to LibHac 0.13.1 (#2328) 2021-07-13 01:19:28 -07:00
Audio Implement 12.0.0 hwopus functions (#2410) 2021-07-06 19:49:51 +02:00
Bcat Update to LibHac 0.13.1 (#2328) 2021-07-13 01:19:28 -07:00
Bgtc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Bluetooth Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
BluetoothManager Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Caps caps: Stubs GetAlbumFileList0AafeAruidDeprecated and GetAlbumFileList3AaeAruid (#2403) 2021-06-25 00:37:48 +02:00
Cec Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ectx am/ectx: Implement SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled and add service placeholder (#2136) 2021-03-25 23:25:49 +01:00
Erpt Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Fatal Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Friend Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
Fs Update to LibHac 0.13.1 (#2328) 2021-07-13 01:19:28 -07:00
Grc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Hid Add Direct Mouse Support (#2374) 2021-06-24 02:09:08 +02:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Lbl Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Ldn Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Lm HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
Loader Add various error codes to Loader (#1208) 2020-05-04 13:22:28 +02:00
Mig Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Mii Update to LibHac 0.13.1 (#2328) 2021-07-13 01:19:28 -07:00
Mm mm: Cleaned up the service a bit (#2233) 2021-04-22 23:35:01 +02:00
Ncm HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
News Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nfc nfc/nfp: Implement ISystemManager and ISystem (#2381) 2021-06-24 01:05:40 +02:00
Ngct HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
Nifm nifm: Fixes IsDynamicDnsEnabled not supported (#2443) 2021-07-06 20:41:11 +02:00
Nim Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Notification Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ns aoc: Fixes some inconsistencies (#2434) 2021-07-06 20:17:06 +02:00
Nv Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
Olsc Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Ovln Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pctl aoc/am: Cleanup aoc service and stub am calls (#2414) 2021-06-29 18:57:06 +02:00
Pcv Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Pm Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Prepo prepo: Implement SaveSystemReport and SaveSystemReportWithUser (#2379) 2021-06-23 22:41:44 +02:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Ro Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
Sdb pl: Implement GetSharedFontInOrderOfPriorityForSystem (#2382) 2021-06-23 22:32:56 +02:00
Settings no name: Mii Editor applet support (#2419) 2021-06-28 20:54:45 +02:00
Sm Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
Sockets nsd: Cleanup the service and implement some calls (#2250) 2021-05-05 23:16:51 +02:00
Spl Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
Srepo Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ssl HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
SurfaceFlinger Initial support for separate GPU address spaces (#2394) 2021-06-29 19:32:02 +02:00
Time POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
Usb Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Vi HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
Wlan Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
CommandHIpcAttribute.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
CommandTIpcAttribute.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
DisposableIpcService.cs Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
DummyService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IpcService.cs Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
ServerBase.cs Fix disposing of IPC sessions server at emulation stop (#2334) 2021-06-29 19:37:13 +02:00
ServiceAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00