Skip to content

Commit dac4446

Browse files
authored
Enable QueueUserAPC2 suspension even without CET (#99076)
1 parent 00474fc commit dac4446

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/coreclr/vm/threads.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8276,12 +8276,7 @@ void Thread::InitializeSpecialUserModeApc()
82768276
return;
82778277
}
82788278

8279-
// In the future, once code paths using the special user-mode APC get some bake time, it should be used regardless of
8280-
// whether CET shadow stacks are enabled
8281-
if (AreCetShadowStacksEnabled())
8282-
{
8283-
s_pfnQueueUserAPC2Proc = pfnQueueUserAPC2Proc;
8284-
}
8279+
s_pfnQueueUserAPC2Proc = pfnQueueUserAPC2Proc;
82858280
}
82868281

82878282
#endif // FEATURE_SPECIAL_USER_MODE_APC

0 commit comments

Comments
 (0)