[PATCH v3 0/3] use wincap in format_proc_cpuinfo for user_shstk
Brian Inglis
Brian.Inglis@Shaw.ca
Fri Jun 16 17:17:07 GMT 2023
Fixes: 41fdb869f998 "fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo"
In test for for AMD/Intel Control flow Enforcement Technology user mode
shadow stack support replace Windows version tests with test of wincap
member addition has_user_shstk with Windows version dependent value
Signed-off-by: Brian Inglis <Brian.Inglis@Shaw.ca>
Brian Inglis (3):
wincap.h: add wincap member has_user_shstk
wincap.cc: set wincap member has_user_shstk true 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