IOS: Implement UID/GID changes for the PPC

This will be required for permission checks in the future.

Note that this is only for the PPC as we do not have actual processes.
Keeping track of other modules' UIDs/GIDs is virtually useless anyway.

UID/GID changes are implemented in the following functions:

* ES_Launch
* ES_DIVerify

ES_SetUid is not implemented yet because it'd need further changes.
This commit is contained in:
Léo Lam 2017-04-23 12:38:16 +02:00
commit dae950ff90
8 changed files with 86 additions and 18 deletions

View file

@ -71,7 +71,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
static std::thread g_save_thread;
// Don't forget to increase this after doing changes on the savestate system
static const u32 STATE_VERSION = 79; // Last changed in PR 4981
static const u32 STATE_VERSION = 80; // Last changed in PR 5309
// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,