OSDN Git Service

* sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
authorcorinna <corinna>
Mon, 26 Aug 2002 09:56:05 +0000 (09:56 +0000)
committercorinna <corinna>
Mon, 26 Aug 2002 09:56:05 +0000 (09:56 +0000)
commit7185efa2f8a866176bd0d90d73dd51255b8c7ef7
tree288f81d4f9c0c193fc0c4f9abf88b19756e520f2
parent9db8e28e0355171ff930d9e3dcddc5c413cc306b
* sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
before owner_sid and group_sid so that well_known_world_sid
means "other" even when owner_sid and/or group_sid are Everyone.
* security.cc (get_attribute_from_acl): Created from code common
to get_nt_attribute() and get_nt_object_attribute(), with same
reordering as in getacl() above.
(get_nt_attribute): Call get_attribute_from_acl().
(get_nt_object_attribute): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/sec_acl.cc
winsup/cygwin/security.cc