[PATCH v2 0/3] use wincap in format_proc_cpuinfo for user_shstk

Brian Inglis Brian.Inglis@Shaw.ca
Wed Jun 7 16:37:44 GMT 2023


replace Windows version tests with wincap test for AMD/Intel Control flow
Enforcement Technology user mode shadow stack support

Brian Inglis (3):
  wincap.h: add wincap member has_user_shstk
  wincap.cc: set wincap member has_user_shstk for 2004+
  fhandler/proc.cc: use wincap.has_user_shstk

 winsup/cygwin/fhandler/proc.cc        |  8 ++++----
 winsup/cygwin/local_includes/wincap.h |  2 ++
 winsup/cygwin/wincap.cc               | 10 ++++++++++
 3 files changed, 16 insertions(+), 4 deletions(-)

-- 
2.39.0



More information about the Cygwin-patches mailing list