diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-11-08 14:38:05 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-11-08 14:38:05 +0300 |
commit | 2fd2ddf3f5bacc7cccc9ac2d32b8024125808b6e (patch) | |
tree | 1ea1f194b7aa34ea6837b16c23bc2214203518cc /winsup/cygwin/wincap.h | |
parent | 86bc8fadff6523470b68b9838fe7af2e55f3b5a3 (diff) |
* sec_helper.cc (sid_auth): Remove.
(well_known_this_org_sid): New well known sid.
(SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Define.
(mandatory_medium_integrity_sid): New well known sid.
(mandatory_high_integrity_sid): Ditto.
(mandatory_system_integrity_sid): Ditto.
(cygsid::get_sid): Use local SID_IDENTIFIER_AUTHORITY. Allow all
authorities fitting in a UCHAR.
* security.cc (get_token_group_sidlist): Always add the local
group to the token. Add comment. Add "This Organization" group
if available in incoming group list.
(get_server_groups): Only add world and authenticated users groups
if not already in list.
(create_token): Add matching mandatory integrity SID to group list
on systems supporting Mandatory Integrity Control.
* security.h (well_known_this_org_sid): Define.
(mandatory_medium_integrity_sid): Define.
(mandatory_high_integrity_sid): Define.
(mandatory_system_integrity_sid): Define.
* wincap.h: Define has_mandatory_integrity_control throughout.
* wincap.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index bbd58a60b..63f87422b 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -69,6 +69,7 @@ struct wincaps unsigned has_fileid_dirinfo : 1; unsigned has_exclusiveaddruse : 1; unsigned has_buggy_restart_scan : 1; + unsigned has_mandatory_integrity_control : 1; }; class wincapc @@ -144,6 +145,7 @@ public: bool IMPLEMENT (has_fileid_dirinfo) bool IMPLEMENT (has_exclusiveaddruse) bool IMPLEMENT (has_buggy_restart_scan) + bool IMPLEMENT (has_mandatory_integrity_control) #undef IMPLEMENT }; |