From 293785382cb0787c77c3daa34ca9cdcfee860ec1 Mon Sep 17 00:00:00 2001 From: Brian Inglis Date: Mon, 19 Jun 2023 12:15:17 -0600 Subject: wincap.h: add wincap member has_user_shstk Indicate support of user mode hardware-enforced shadow stack Signed-off-by: Brian Inglis --- winsup/cygwin/local_includes/wincap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/local_includes/wincap.h b/winsup/cygwin/local_includes/wincap.h index 29a7a63..c148727 100644 --- a/winsup/cygwin/local_includes/wincap.h +++ b/winsup/cygwin/local_includes/wincap.h @@ -32,6 +32,7 @@ struct wincaps unsigned has_linux_tcp_keepalive_sockopts : 1; unsigned has_tcp_maxrtms : 1; unsigned has_con_broken_tabs : 1; + unsigned has_user_shstk : 1; }; }; @@ -84,6 +85,7 @@ public: bool IMPLEMENT (has_linux_tcp_keepalive_sockopts) bool IMPLEMENT (has_tcp_maxrtms) bool IMPLEMENT (has_con_broken_tabs) + bool IMPLEMENT (has_user_shstk) void disable_case_sensitive_dirs () { -- cgit v1.1