From 5a7f9f10b1595b64178ab215094df88ae6cd52d8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 23 Apr 2018 18:25:03 -0600 Subject: [PATCH] Loader: Remove Kernel Caps parsing TODO. --- stratosphere/loader/source/ldr_process_creation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stratosphere/loader/source/ldr_process_creation.cpp b/stratosphere/loader/source/ldr_process_creation.cpp index 102711140..7e0138a60 100644 --- a/stratosphere/loader/source/ldr_process_creation.cpp +++ b/stratosphere/loader/source/ldr_process_creation.cpp @@ -31,8 +31,10 @@ Result ProcessCreation::CreateProcess(Handle *out_process_h, u64 index, char *nc goto CREATE_PROCESS_END; } - /* TODO: Parse and verify ACI0 kernel caps vs ACID kernel caps. */ rc = NpdmUtils::ValidateCapabilities((u32 *)info.acid_kac, info.acid->kac_size/sizeof(u32), (u32 *)info.aci0_kac, info.aci0->kac_size/sizeof(u32)); + if (R_FAILED(rc)) { + goto CREATE_PROCESS_END; + } /* TODO: Read in all NSO headers, see what NSOs are present. */