The branch 'topic/posix_acl_funcs' was updated to point to: 936fd53... acl_create_entry: Don't invalidate existing entry_d and per
It previously pointed to: 230eede... acl_create_entry: Don't invalidate existing entry_d and per Diff: !!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST): ------------------------------------------------------------------- 230eede... acl_create_entry: Don't invalidate existing entry_d and per 1eabae4... __acltotext: Always append NUL 5dcf283... Implement POSIX.1e ACL functions ad32f25... cygwin/acl.h: Don't clutter namespace commit 230eede23a459d4b63dbacdb4336d6c03afabdc9 Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 23:00:51 2016 +0100 acl_create_entry: Don't invalidate existing entry_d and permset_d. * sec_posixacl .cc (__acl_dup): Remove. (acl_dup): Fold __acl_dup functionality into this function. (acl_create_entry): Don't create new acl_t. Just realloc acl->entry to make room for new aclent_t. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 1eabae473a099dddba4beb42b14b4956336a6dea Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 21:05:56 2016 +0100 __acltotext: Always append NUL * sec_acl.cc (__acltotext): Append NUL unconditionally. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 5dcf28333460f91b9f6979f5ee6cf2b3f907c96a Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 18:41:36 2016 +0100 Implement POSIX.1e ACL functions * Makefile.in (DLL_OFILES): Add sec_posixacl.o. (SUBLIBS): Add libacl.a (libacl.a): New rule to create libacl.a. * common.din: Export POSIX ACL functions as well as most libacl.a extensions. * fhandler.h (fhander_base::acl_get): New prototype. (fhander_base::acl_set): Ditto. (fhandler_disk_file::acl_get): Ditto. (fhandler_disk_file::acl_set): Ditto. * include/acl/libacl.h: New file. * include/cygwin/version.h: Bump API minor version. * include/sys/acl.h: Drop including cygwin/acl.h. Accommodate throughout Cygwin. Add POSIX ACL definitions. * sec_acl.cc: Include sec_posixacl.h. Replace ILLEGAL_UID and ILLEGAL_GID with ACL_UNDEFINED_ID where sensible. (__aclcheck): New internal acl check function to be used for Solaris and POSIX ACLs. (aclcheck32): Call __aclcheck. (__aclcalcmask): New function to compute ACL_MASK value. (__aclsort): New internal acl sort function to be used for Solaris and POSIX ACLs. (aclsort32): Call __aclsort. (permtostr): Work directly on provided buffer. (__acltotext): New internal acltotext function to be used for Solaris and POSIX ACLs. (acltotext32): Call __acltotext. (__aclfromtext): New internal aclfromtext function to be used for Solaris and POSIX ACLs. (aclfromtext32): Call __aclfromtext. * sec_posixacl.cc: New file implemeting POSIX ACL functions. * sec_posixacl.h: New internal header. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit ad32f25d8aa71a56c4694bcd01762ba1cc70b40e Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 18:24:03 2016 +0100 cygwin/acl.h: Don't clutter namespace include/cygwin/acl.h: Change comments to /**/ style. Reformat declarations. Use underscores in argument names. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> Summary of changes (added commits): ----------------------------------- 936fd53... acl_create_entry: Don't invalidate existing entry_d and per 01fbda0... __acltotext: Always append NUL 4c50a2d... Implement POSIX.1e ACL functions 1926957... cygwin/acl.h: Don't clutter namespace 69f98f5... Add 2.4.1 release message file 79b1b77... cygpath: Avoid returning SysWOW64 b5c80f5... cygwin_logon_user: Return non-privileged token as well d44ec01... Fix formatting in sec_auth.cc commit 936fd531f195346f6a9a9bd8877c68396b230622 Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 23:00:51 2016 +0100 acl_create_entry: Don't invalidate existing entry_d and permset_d. * sec_posixacl .cc (__acl_dup): Remove. (acl_dup): Fold __acl_dup functionality into this function. (acl_create_entry): Don't create new acl_t. Just realloc acl->entry to make room for new aclent_t. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 01fbda0e0b75a9af45d6e6d018077b866e101000 Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 21:05:56 2016 +0100 __acltotext: Always append NUL * sec_acl.cc (__acltotext): Append NUL unconditionally. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 4c50a2d0a8b6748ffb9c357c2e1f17f85d6f006d Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 18:41:36 2016 +0100 Implement POSIX.1e ACL functions * Makefile.in (DLL_OFILES): Add sec_posixacl.o. (SUBLIBS): Add libacl.a (libacl.a): New rule to create libacl.a. * common.din: Export POSIX ACL functions as well as most libacl.a extensions. * fhandler.h (fhander_base::acl_get): New prototype. (fhander_base::acl_set): Ditto. (fhandler_disk_file::acl_get): Ditto. (fhandler_disk_file::acl_set): Ditto. * include/acl/libacl.h: New file. * include/cygwin/version.h: Bump API minor version. * include/sys/acl.h: Drop including cygwin/acl.h. Accommodate throughout Cygwin. Add POSIX ACL definitions. * sec_acl.cc: Include sec_posixacl.h. Replace ILLEGAL_UID and ILLEGAL_GID with ACL_UNDEFINED_ID where sensible. (__aclcheck): New internal acl check function to be used for Solaris and POSIX ACLs. (aclcheck32): Call __aclcheck. (__aclcalcmask): New function to compute ACL_MASK value. (__aclsort): New internal acl sort function to be used for Solaris and POSIX ACLs. (aclsort32): Call __aclsort. (permtostr): Work directly on provided buffer. (__acltotext): New internal acltotext function to be used for Solaris and POSIX ACLs. (acltotext32): Call __acltotext. (__aclfromtext): New internal aclfromtext function to be used for Solaris and POSIX ACLs. (aclfromtext32): Call __aclfromtext. * sec_posixacl.cc: New file implemeting POSIX ACL functions. * sec_posixacl.h: New internal header. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 1926957316cf74b351f00098327bd22a254eec76 Author: Corinna Vinschen <cori...@vinschen.de> Date: Wed Jan 6 18:24:03 2016 +0100 cygwin/acl.h: Don't clutter namespace include/cygwin/acl.h: Change comments to /**/ style. Reformat declarations. Use underscores in argument names. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 69f98f5f185537bcee36b6929a79adf8f2bfde57 Author: Corinna Vinschen <cori...@vinschen.de> Date: Sat Jan 23 22:33:31 2016 +0100 Add 2.4.1 release message file Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit 79b1b77b1fd1fcb036bbb2a9aeb6667f1cdcc1ef Author: Corinna Vinschen <cori...@vinschen.de> Date: Thu Jan 21 18:40:30 2016 +0100 cygpath: Avoid returning SysWOW64 On Cygwin 32 running under WOW64: When case-correcting the path fetched with -S, the underlying Windows function fetching the normalized path returns the real path C:\Windows\SysWOW64 instead of the path redirection enabled C:\Windows\System32 path. This breaks using the result of `cygpath -S' to fetch the POSIX path of the network related files under SYSTEMROOT\drivers\etc. This path is in fact under the *real* C:\Windows\System32 and only mapped into the 32 bit C:\Windows\System32 (aka C:\Windows\SysWOW64) via path redirection. Sounds messy? This patch checks if we're running under WOW64. If so, it changes the path returned by GetSystemDirectoryW from "system32" to "Sysnative". This in turn is changed to "System32" by NtQueryInformationFile, so we're back to what we need. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit b5c80f5a59fda4e3890bf3cb515a67f420057e02 Author: Corinna Vinschen <cori...@vinschen.de> Date: Thu Jan 21 18:32:16 2016 +0100 cygwin_logon_user: Return non-privileged token as well If the calling process doesn't have sufficient privileges to fetch the linked token of an admin-user token, cygwin_logon_user fails. This patch changes that by returning the original, unprivileged token of the admin user to allow authentication and calling setuid for the current process. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> commit d44ec01ea175d6fb226191e19533cc7675dfae0d Author: Corinna Vinschen <cori...@vinschen.de> Date: Thu Jan 21 18:27:05 2016 +0100 Fix formatting in sec_auth.cc Signed-off-by: Corinna Vinschen <cori...@vinschen.de>