Skip to content

Commit

Permalink
give MCP access to raw FSA functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-hofmeier committed May 29, 2023
1 parent eabb7c8 commit 79b9e06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios_kernel/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 79b9e06

Please sign in to comment.