diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-08-07 12:16:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 12:16:45 -0700 |
commit | 46ab1d132c9ad471d79afa20c188c2f9c85e5f20 (patch) | |
tree | 233ab93323e49cf4c5404e18304374a9faae74de /src/vm/mngstdinterfaces.cpp | |
parent | a9516dacd742ccaeae2820b89ad313a53d22d917 (diff) | |
download | coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.tar.gz coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.tar.bz2 coreclr-46ab1d132c9ad471d79afa20c188c2f9c85e5f20.zip |
Cleanup code access security from the unmanaged runtime (#13241)
Diffstat (limited to 'src/vm/mngstdinterfaces.cpp')
-rw-r--r-- | src/vm/mngstdinterfaces.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vm/mngstdinterfaces.cpp b/src/vm/mngstdinterfaces.cpp index 5aafe8a97c..d6de4f32a0 100644 --- a/src/vm/mngstdinterfaces.cpp +++ b/src/vm/mngstdinterfaces.cpp @@ -22,7 +22,6 @@ #include "method.hpp" #include "runtimecallablewrapper.h" #include "excep.h" -#include "security.h" #include "typeparse.h" // @@ -217,9 +216,6 @@ LPVOID MngStdItfBase::ForwardCallToManagedView( // The target isn't a TP so it better be a COM object. _ASSERTE(Lr.Obj->GetMethodTable()->IsComObjectType()); - // We are about to call out to ummanaged code so we need to make a security check. - Security::SpecialDemand(SSWT_DEMAND_FROM_NATIVE, SECURITY_UNMANAGED_CODE); - { RCWHolder pRCW(GetThread()); RCWPROTECT_BEGIN(pRCW, Lr.Obj); |