Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: src/trusted/service_runtime/sel_ldr.c

Issue 23710020: Deduplicates NaClSysSysconf implementation (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/service_runtime/sel_ldr.c
diff --git a/src/trusted/service_runtime/sel_ldr.c b/src/trusted/service_runtime/sel_ldr.c
index c70a7b97c098f469e956f92f3f9ffefce547061a..7934f5e022184cbb962eac8e1ff998888e2c6bd0 100644
--- a/src/trusted/service_runtime/sel_ldr.c
+++ b/src/trusted/service_runtime/sel_ldr.c
@@ -275,7 +275,9 @@ int NaClAppWithSyscallTableCtor(struct NaClApp *nap,
#endif
-#if NACL_LINUX || NACL_OSX
+#if NACL_WINDOWS
+ nap->sc_nprocessors_onln = 0;
+#elif NACL_LINUX || NACL_OSX
/*
* Try to pre-cache information that we can't obtain with the outer
* sandbox on. If the outer sandbox has already been enabled, this

Powered by Google App Engine
This is Rietveld 408576698