summaryrefslogtreecommitdiff
path: root/src/vm/excep.h
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-12-06 01:57:52 (GMT)
committerJan Kotas <jkotas@microsoft.com>2016-12-06 01:57:52 (GMT)
commit910209a77d3311f845c535023d49b409d90e63ef (patch)
tree4dedd88ff89d26d2ed039a05f6b7ff3f753a0887 /src/vm/excep.h
parent6c1b9cc682eccae1e655d8037f06c0f516f2f90b (diff)
downloadcoreclr-910209a77d3311f845c535023d49b409d90e63ef.zip
coreclr-910209a77d3311f845c535023d49b409d90e63ef.tar.gz
coreclr-910209a77d3311f845c535023d49b409d90e63ef.tar.bz2
[x86/Linux] Revise COMPlusThrowCallback (#8430)
GetCallerToken and GetImpersonationToken methods in FrameSecurityDescriptorBaseObject are implemented only for Windows-platform.
Diffstat (limited to 'src/vm/excep.h')
-rw-r--r--src/vm/excep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm/excep.h b/src/vm/excep.h
index f170a3e..7ef1921 100644
--- a/src/vm/excep.h
+++ b/src/vm/excep.h
@@ -88,9 +88,11 @@ struct ThrowCallbackType
MethodDesc * pProfilerNotify; // Context for profiler callbacks -- see COMPlusFrameHandler().
BOOL bReplaceStack; // Used to pass info to SaveStackTrace call
BOOL bSkipLastElement;// Used to pass info to SaveStackTrace call
+#ifndef FEATURE_PAL
HANDLE hCallerToken;
HANDLE hImpersonationToken;
BOOL bImpersonationTokenSet;
+#endif // !FEATURE_PAL
#ifdef _DEBUG
void * pCurrentExceptionRecord;
void * pPrevExceptionRecord;
@@ -114,9 +116,11 @@ struct ThrowCallbackType
pProfilerNotify = NULL;
bReplaceStack = FALSE;
bSkipLastElement = FALSE;
+#ifndef FEATURE_PAL
hCallerToken = NULL;
hImpersonationToken = NULL;
bImpersonationTokenSet = FALSE;
+#endif // !FEATURE_PAL
#ifdef _DEBUG
pCurrentExceptionRecord = 0;