diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-09-02 00:05:46 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-18 22:30:38 +0100 |
commit | 911808dd5e86f054ec668b04366b6357885d6b85 (patch) | |
tree | 6a2589c1db5ac57b96d557f4b6b536a5c66fba0b /newlib/libc/stdio/stdio_ext.c | |
parent | 7edb6b8d3e817cfb0f4c82dc9d383498d34d5380 (diff) | |
download | cygnal-911808dd5e86f054ec668b04366b6357885d6b85.tar.gz cygnal-911808dd5e86f054ec668b04366b6357885d6b85.tar.bz2 cygnal-911808dd5e86f054ec668b04366b6357885d6b85.zip |
Fix permission evaluation for !new_style ACLs
* security.h (authz_get_user_attribute): Declare bool.
* sec_helper.cc (authz_ctx::get_user_attribute): Make bool method.
Set S_IxOTH bits in returned attributes rather than S_IxUSR bits.
(authz_get_user_attribute): Make bool function.
* sec_acl.cc (get_posix_access): Introduce cygsid array to keep
track of all SIDs in the ACL. Move AuthZ calls into !new_style
permission post processing. When not using AuthZ, use
CheckTokenMembership to collect group permissions.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/stdio_ext.c')
0 files changed, 0 insertions, 0 deletions