diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-02-27 12:59:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-02-27 12:59:09 +0000 |
commit | 06371539bd405ce4ba288d44efaaeb645ed37299 (patch) | |
tree | 73d26a8ee4241d6d184245a173b89f2f62fa32c7 /newlib/libc/stdlib/wcstoull_r.c | |
parent | d2f9dbb3ee0fc1a8129aac8a42f1ce77e43ac4e9 (diff) | |
download | cygnal-06371539bd405ce4ba288d44efaaeb645ed37299.tar.gz cygnal-06371539bd405ce4ba288d44efaaeb645ed37299.tar.bz2 cygnal-06371539bd405ce4ba288d44efaaeb645ed37299.zip |
* sec_acl.cc (setacl): Fix bug which leads to ACE duplication in
case owner SID == group SID.
(getacl): Reverse order of SID test against group or owner sid to
prefer owner attributes over group attributes. Disable setting group
permissions equivalent to owner permissions if owner == group. Add
comment to explain why. Fix indentation.
* security.cc (get_attribute_from_acl): Change type of local variables
containing permission to mode_t. Apply deny mask to group if group SID
== owner SID to avoid Everyone permissions to spill over into group
permissions. Disable setting group permissions equivalent to owner
permissions if owner == group. Add comment to explain why.
* uinfo.cc (pwdgrp::fetch_account_from_windows): Allow user SID as
group account if user is a "Microsoft Account". Explain why. Drop
workaround enforcing primary group "Users" for "Microsoft Accounts".
Diffstat (limited to 'newlib/libc/stdlib/wcstoull_r.c')
0 files changed, 0 insertions, 0 deletions