aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Inglis <Brian.Inglis@Shaw.ca>2023-06-19 12:15:17 -0600
committerCorinna Vinschen <corinna@vinschen.de>2023-06-20 10:06:56 +0200
commit293785382cb0787c77c3daa34ca9cdcfee860ec1 (patch)
tree035fabe74935f6ffcf2862c1c69a6e908cbc08b5
parent048031501043e61ca31713b92ce2190213c7fb21 (diff)
downloadnewlib-293785382cb0787c77c3daa34ca9cdcfee860ec1.zip
newlib-293785382cb0787c77c3daa34ca9cdcfee860ec1.tar.gz
newlib-293785382cb0787c77c3daa34ca9cdcfee860ec1.tar.bz2
wincap.h: add wincap member has_user_shstk
Indicate support of user mode hardware-enforced shadow stack Signed-off-by: Brian Inglis <Brian.Inglis@Shaw.ca>
-rw-r--r--winsup/cygwin/local_includes/wincap.h2
1 files changed, 2 insertions, 0 deletions
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 ()
{