diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-04-28 11:27:51 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-04-28 11:27:51 +0400 |
commit | f97612978a32fd1015242f3e10072f40e6a510e5 (patch) | |
tree | 6cc1e5deec82cef18c47611cf5273c0ffecb0f9f /winsup/cygwin/wincap.h | |
parent | aa83f124e4260c1dd4d618da65433a6dac064ce1 (diff) |
* autoload.cc (GetSecurityInfo): Remove.
* ntdll.h (RtlConvertToAutoInheritSecurityObject): Declare.
(RtlDeleteSecurityObject): Declare.
(RtlGetControlSecurityDescriptor): Declare.
(RtlLengthSecurityDescriptor): Declare.
* security.cc (file_mapping): New global variable.
(get_file_sd): Rewrite. Clean up code. Get rid of GetSecurityInfo
call.
(alloc_sd): Call RtlSetControlSecurityDescriptor to set
SE_DACL_PROTECTED flag.
(check_file_access): Remove mapping. Use file_mapping instead.
(check_registry_access): Rename mapping to reg_mapping.
* wincap.cc: Througout, drop use_get_sec_info_on_dirs,
* wincap.h (struct wincaps): Drop use_get_sec_info_on_dirs.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index dc3312784..631cf30ae 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -43,7 +43,6 @@ struct wincaps unsigned has_fast_cwd : 1; unsigned has_restricted_raw_disk_access : 1; unsigned use_dont_resolve_hack : 1; - unsigned use_get_sec_info_on_dirs : 1; }; class wincapc @@ -92,7 +91,6 @@ public: bool IMPLEMENT (has_fast_cwd) bool IMPLEMENT (has_restricted_raw_disk_access) bool IMPLEMENT (use_dont_resolve_hack) - bool IMPLEMENT (use_get_sec_info_on_dirs) #undef IMPLEMENT }; |