From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76248 invoked by alias); 27 Jan 2016 14:55:35 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 76083 invoked by uid 9078); 27 Jan 2016 14:55:32 -0000 Date: Wed, 27 Jan 2016 14:55:00 -0000 Message-ID: <20160127145532.76080.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: cygwin-cvs@sourceware.org, newlib-cvs@sourceware.org Subject: [newlib-cygwin/topic/posix_acl_funcs] (9 commits) Bump Cygwin version to 2.5.0 X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/topic/posix_acl_funcs X-Git-Oldrev: 54d9cb18b68bf85462a12e9f39cd0a55bd24e085 X-Git-Newrev: 0c3334dda94e614a7f5dcc29d8f4d8efcb688dd0 X-SW-Source: 2016-q1/txt/msg00009.txt.bz2 The branch 'topic/posix_acl_funcs' was updated to point to: 0c3334d... Bump Cygwin version to 2.5.0 It previously pointed to: 54d9cb1... Make select wait state more readable Diff: !!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST): ------------------------------------------------------------------- 54d9cb1... Make select wait state more readable 091e020... Fix missing 'user' in usertemp docs d98df88... Bump Cygwin version to 2.5.0 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 commit 54d9cb18b68bf85462a12e9f39cd0a55bd24e085 Author: Corinna Vinschen Date: Mon Jan 25 21:00:14 2016 +0100 Make select wait state more readable Rename "res" to "wait_state" and change its type to select_stuff::wait_states. Use select_stuff::wait_states values instead of ints throughout. Rearrange a few comments. Signed-off-by: Corinna Vinschen commit 091e020670eed961569b9a04f023737ab6f4914d Author: Corinna Vinschen Date: Mon Jan 25 10:09:55 2016 +0100 Fix missing 'user' in usertemp docs Signed-off-by: Corinna Vinschen commit d98df8809fc89e11d5f03539b76bff7ce3355e04 Author: Corinna Vinschen Date: Sun Jan 24 11:48:58 2016 +0100 Bump Cygwin version to 2.5.0 Signed-off-by: Corinna Vinschen commit 936fd531f195346f6a9a9bd8877c68396b230622 Author: Corinna Vinschen 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 commit 01fbda0e0b75a9af45d6e6d018077b866e101000 Author: Corinna Vinschen 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 commit 4c50a2d0a8b6748ffb9c357c2e1f17f85d6f006d Author: Corinna Vinschen 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 commit 1926957316cf74b351f00098327bd22a254eec76 Author: Corinna Vinschen 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 Summary of changes (added commits): ----------------------------------- 0c3334d... Bump Cygwin version to 2.5.0 7a2f466... acl_create_entry: Don't invalidate existing entry_d and per 73acbc8... __acltotext: Always append NUL 7cdb126... Implement POSIX.1e ACL functions 3c9171c... cygwin/acl.h: Don't clutter namespace fcda881... Don't use LoadLibraryEx(..., LOAD_LIBRARY_SEARCH_SYSTEM32). 7854974... Drop has_broken_fnoi flag d9accb0... Make select wait state more readable 11a3729... Fix missing 'user' in usertemp docs commit 0c3334dda94e614a7f5dcc29d8f4d8efcb688dd0 Author: Corinna Vinschen Date: Sun Jan 24 11:48:58 2016 +0100 Bump Cygwin version to 2.5.0 Signed-off-by: Corinna Vinschen commit 7a2f4662534f4d8e0483044454070796b1c6a239 Author: Corinna Vinschen 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 commit 73acbc8ae561271e16247cddcbbad7de058ae183 Author: Corinna Vinschen 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 commit 7cdb1269322405fca0d72ba69f64810babc7e03b Author: Corinna Vinschen 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 commit 3c9171cddafc115f486bce96620ac279486f45a5 Author: Corinna Vinschen 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 commit fcda8810a208b6b76ae95a88feea34ff0046ba1e Author: Corinna Vinschen Date: Wed Jan 27 15:43:15 2016 +0100 Don't use LoadLibraryEx(..., LOAD_LIBRARY_SEARCH_SYSTEM32). It hangs Observed running hexchat under X. For some reason the call to LoadLibraryEx(..., LOAD_LIBRARY_SEARCH_SYSTEM32) in dll_load hangs when trying to autoload MsgWaitForMultipleObjectsEx in select.cc after hexchat forks to run DNS calls. Dropping the call and just using full paths as in 2.3.1 fixes the issue. * autoload.cc (dll_load): Drop call to LoadLibraryEx with LOAD_LIBRARY_SEARCH_SYSTEM32 flag. * wincap.h (wincaps::has_load_lib_search_flags): Remove. * wincap.cc (wincaps::has_load_lib_search_flags): Drop handling this flag. Signed-off-by: Corinna Vinschen commit 78549742de0186223302f84997199a871999aded Author: Corinna Vinschen Date: Wed Jan 27 15:39:11 2016 +0100 Drop has_broken_fnoi flag * mount.cc (fs_info::update): Don't set has_broken_fnoi. It's unused anyway. * mount.h (class fs_info): Remove has_broken_fnoi status flag. * path.h (class path_conv): Remove has_broken_fnoi method. Signed-off-by: Corinna Vinschen commit d9accb0079ed6a8c9d2e90731644cb8e023c131f Author: Corinna Vinschen Date: Mon Jan 25 21:00:14 2016 +0100 Make select wait state more readable Rename "res" to "wait_state" and change its type to select_stuff::wait_states. Use select_stuff::wait_states values instead of ints throughout. Rearrange a few comments. Signed-off-by: Corinna Vinschen commit 11a37290c66d7da443c85a42cfcdd4aa082912cd Author: Corinna Vinschen Date: Mon Jan 25 10:09:55 2016 +0100 Fix missing 'user' in usertemp docs Signed-off-by: Corinna Vinschen