From 79b9e061e97906119dee46e375e633f5348656e6 Mon Sep 17 00:00:00 2001 From: Jan Hofmeier Date: Mon, 29 May 2023 21:51:59 +0200 Subject: [PATCH] give MCP access to raw FSA functions --- ios_kernel/source/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios_kernel/source/main.c b/ios_kernel/source/main.c index 700c741..8e617a9 100644 --- a/ios_kernel/source/main.c +++ b/ios_kernel/source/main.c @@ -91,6 +91,9 @@ int _main(void* arg) // give the current thread full access to MCP for starting the thread setClientCapabilities(currentThreadContext->pid, 0xd, 0xffffffffffffffffllu); + // give IOS-MCP full access to FS + setClientCapabilities(1, 0xb, 0xffffffffffffffffllu); + // start mcp thread int mcpHandle = IOS_Open("/dev/mcp", 0); if (mcpHandle > 0) {