Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Commit

Permalink
move loader_config functions into their own file, implement lconfig_h…
Browse files Browse the repository at this point in the history
…as_syscall(s?), have ace_loader propogate that key, and make ipc_server test that it has the syscalls it needs
  • Loading branch information
misson20000 committed Mar 16, 2018
1 parent 1502919 commit 78ee413
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nro.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ uint64_t nro_start()
ent_no++;
}

nro_config[ent_no].key = LCONFIG_KEY_SYSCALL_AVAILABLE_HINT;
nro_config[ent_no].flags = 0;
nro_config[ent_no].syscall_available_hint.hints[0] = loader_config.syscall_hints[0];
nro_config[ent_no].syscall_available_hint.hints[1] = loader_config.syscall_hints[1];
ent_no++;

if(loader_config.applet_workaround_active) {
nro_config[ent_no].key = LCONFIG_KEY_APPLET_WORKAROUND;
nro_config[ent_no].flags = LOADER_CONFIG_FLAG_RECOGNITION_MANDATORY;
Expand Down

0 comments on commit 78ee413

Please sign in to comment.