fs.mitm: loosen boot0 write restrictions, protect keyblobs.

This commit is contained in:
Michael Scire 2018-11-15 18:25:11 -08:00
parent d88fd04c73
commit a07e37121d
3 changed files with 46 additions and 13 deletions

View file

@ -41,8 +41,8 @@ class FsMitmService : public IMitmServiceObject {
}
static bool ShouldMitm(u64 pid, u64 tid) {
/* fs.mitm should always mitm everything. */
return true;
/* fs.mitm should always mitm everything that's not a kip. */
return pid >= 0x50;
}
static void PostProcess(IMitmServiceObject *obj, IpcResponseContext *ctx);