Skip to content

Commit

Permalink
i#1825 Win10-1511: add support for a new API pseudo-dll
Browse files Browse the repository at this point in the history
Adds a mapping from "API-MS-Win-Core-Enclave-L1-1" to kernelbase.dll
for Windows 10 1511 support.

Review-URL: https://codereview.appspot.com/286850043
  • Loading branch information
derekbruening committed Jan 20, 2016
1 parent 1d0174c commit efe3c3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/win32/loader.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* **********************************************************
* Copyright (c) 2011-2015 Google, Inc. All rights reserved.
* Copyright (c) 2011-2016 Google, Inc. All rights reserved.
* Copyright (c) 2009-2010 Derek Bruening All rights reserved.
* **********************************************************/

Expand Down Expand Up @@ -1508,7 +1508,8 @@ map_api_set_dll(const char *name, privmod_t *dependent)
str_case_prefix(name, "API-MS-Win-Core-LibraryLoader-L2-1") ||
str_case_prefix(name, "API-MS-Win-Core-ProcessSnapshot-L1-1") ||
str_case_prefix(name, "API-MS-Win-Core-Fibers-L2-1") ||
str_case_prefix(name, "API-MS-Win-Core-LargeInteger-L1-1"))
str_case_prefix(name, "API-MS-Win-Core-LargeInteger-L1-1") ||
str_case_prefix(name, "API-MS-Win-Core-Enclave-L1-1"))
return "kernelbase.dll";
else {
SYSLOG_INTERNAL_WARNING("unknown API-MS-Win pseudo-dll %s", name);
Expand Down

0 comments on commit efe3c3d

Please sign in to comment.