summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/wincap.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-11-03 09:31:45 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-11-03 09:31:45 +0000
commit18f7c504018b80177b417789fc239d3837b95cd5 (patch)
treed1de5004ddeb1a876c58764ef61fca30685550d4 /winsup/cygwin/wincap.h
parent1bb3825949d4fc475b460fa93af703c6f3a226cc (diff)
downloadcygnal-18f7c504018b80177b417789fc239d3837b95cd5.tar.gz
cygnal-18f7c504018b80177b417789fc239d3837b95cd5.tar.bz2
cygnal-18f7c504018b80177b417789fc239d3837b95cd5.zip
* security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED
flag. Remove INHERITED_ACE flag from all inherited ACEs. Add comment. Fix ace_off counter in unrelated ACE loop. * wincap.cc: Re-add has_dacl_protect throughout. * wincap.h: Ditto.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r--winsup/cygwin/wincap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h
index 8e66200f9..74955ff63 100644
--- a/winsup/cygwin/wincap.h
+++ b/winsup/cygwin/wincap.h
@@ -17,6 +17,7 @@ struct wincaps
DWORD heapslop;
DWORD max_sys_priv;
unsigned is_server : 1;
+ unsigned has_dacl_protect : 1;
unsigned has_ip_helper_lib : 1;
unsigned has_broken_if_oper_status : 1;
unsigned has_physical_mem_access : 1;
@@ -71,6 +72,7 @@ public:
DWORD IMPLEMENT (heapslop)
DWORD IMPLEMENT (max_sys_priv)
bool IMPLEMENT (is_server)
+ bool IMPLEMENT (has_dacl_protect)
bool IMPLEMENT (has_ip_helper_lib)
bool IMPLEMENT (has_broken_if_oper_status)
bool IMPLEMENT (has_physical_mem_access)