This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin/topic/posix_acl_funcs] (9 commits) Bump Cygwin version to 2.5.0


The branch 'topic/posix_acl_funcs' was updated to point to:

 5aa743b... Bump Cygwin version to 2.5.0

It previously pointed to:

 0c3334d... Bump Cygwin version to 2.5.0

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  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

commit 0c3334dda94e614a7f5dcc29d8f4d8efcb688dd0
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Sun Jan 24 11:48:58 2016 +0100

    Bump Cygwin version to 2.5.0
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

commit 7a2f4662534f4d8e0483044454070796b1c6a239
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit 73acbc8ae561271e16247cddcbbad7de058ae183
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit 7cdb1269322405fca0d72ba69f64810babc7e03b
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit 3c9171cddafc115f486bce96620ac279486f45a5
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>


Summary of changes (added commits):
-----------------------------------

  5aa743b... Bump Cygwin version to 2.5.0
  04b07ae... acl_create_entry: Don't invalidate existing entry_d and per
  876ce93... __acltotext: Always append NUL
  aaf0a01... Implement POSIX.1e ACL functions
  95bff55... cygwin/acl.h: Don't clutter namespace
  ac4648c... Treat ACLs with extra ACEs for Admins and SYSTEM like a tri
  a16ab17... get_posix_access: Fix primary group handing when multiple A
  69f4c40... Make macro checks ARMv8-M baseline proof
  0b42ea7... Deprecate newlib and winsup ChangeLog files

commit 5aa743b58616fb7f954235ea5ce8367110ea7f3b
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Sun Jan 24 11:48:58 2016 +0100

    Bump Cygwin version to 2.5.0
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

commit 04b07ae6df0383dab14ccaa2ec83d75633f1a95b
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit 876ce93e1b95ef600ce1627d29f391b3b90dd8c2
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit aaf0a01cb7f1ce0412fa6738a2c1c9325e11d2ae
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit 95bff5586f824163566180a51020d6164e2150a5
Author: Corinna Vinschen <corinna@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 <corinna@vinschen.de>

commit ac4648c13eab48d1e7626d272ae47839da579429
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 28 22:05:49 2016 +0100

    Treat ACLs with extra ACEs for Admins and SYSTEM like a trivial ACL
    
    	POSIX.1e requires that chmod changes the MASK rather than the
    	GROUP_OBJ value if the ACL is non-trivial.
    
    	On Windows, especially on home machines, a standard ACL often
    	consists of entries for the user, maybe the group, and additional
    	entries for SYSTEM and the Administrators group.  A user calling
    	chmod on a file with bog standard Windows perms usually expects
    	that chmod changes the GROUP_OBJ perms, but given the rules from
    	POSIX.1e we can't do that.
    
    	However, since we already treat Admins and SYSTEM special in a
    	ACL (they are not used in MASK computations) we go a step in the
    	Windows direction to follow user expectations.  If an ACL only
    	consists of the three POSIX permissions, plus entries for Admins
    	and SYSTEM *only*, then we change the permissions of the GROUP_OBJ
    	entry *and* the MASK entry.
    
    	* fhandler_disk_file.cc (fhandler_disk_file::chmod): Drop unused
    	code.  Add special handling for a "standard" Windows ACL.  Add
    	comment to explain.
    	* sec_acl.cc (get_posix_access): Allow to return "standard-ness"
    	of an ACL to the caller.  Add preceeding comment to explain a bit.
    	* security.h (get_posix_access): Align prototype.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

commit a16ab1751c64557b46945d4c093b8977c0584327
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 28 14:34:11 2016 +0100

    get_posix_access: Fix primary group handing when multiple ACEs exist
    
    	Handle additional ACE for primary group only as another GROUP
    	entry if it's an allow ACE.  Deny ACEs don't qualify.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

commit 69f4c4029183fb26d2fcae00790881620c1978a3
Author: Thomas Preud'homme <thomas.preudhomme@foss.arm.com>
Date:   Thu Jan 28 11:26:09 2016 +0100

    Make macro checks ARMv8-M baseline proof
    
    libgloss:
    
            * arm/Makefile.in: Add newlib/libc/machine/arm to the include path if
            newlib is present.
            * arm/arm.h: Include acle-compat.h.
            (THUMB_V7_V6M): Rename to ...
            (PREFER_THUMB): This.  Use ACLE macros __ARM_ARCH_ISA_ARM instead of
            __ARM_ARCH_6M__ to decide whether to define it.
            (THUMB1_ONLY): Define for Thumb-1 only targets.
            (THUMB_V7M_V6M): Rename to ...
            (THUMB_VXM): This.  Defined based on __ARM_ARCH_ISA_ARM, excluding
            ARMv7.
            * arm/crt0.S: Use THUMB1_ONLY rather than __ARM_ARCH_6M__,
            !__ARM_ARCH_ISA_ARM rather than THUMB_V7M_V6M for fp enabling, and
            PREFER_THUMB rather than THUMB_V7_V6M.  Rename other occurences of
            THUMB_V7M_V6M to THUMB_VXM.
            * arm/linux-crt0.c: Likewise.
            * arm/redboot-crt0.S: Likewise.
            * arm/swi.h: Likewise.
            * arm/trap.S: Likewise.
    
    newlib:
    
            * libc/machine/arm/memcpy-stub.c: Use ACLE macros __ARM_ARCH_ISA_THUMB
            and __ARM_ARCH_ISA_ARM to check for Thumb-2 only targets rather than
            __ARM_ARCH and __ARM_ARCH_PROFILE.
            * libc/machine/arm/memcpy.S: Likewise.
            * libc/machine/arm/setjmp.S: Likewise for Thumb-1 only target and
            include acle-compat.h.
            * libc/machine/arm/strcmp.S: Likewise for Thumb-1 and Thumb-2 only
            target and include acle-compat.h.
            * libc/sys/arm/arm.h: Include acle-compat.h.
            (THUMB_V7_V6M): Rename to ...
            (PREFER_THUMB): This.  Use ACLE macro __ARM_ARCH_ISA_ARM instead of
            __ARM_ARCH_6M__ to decide whether to define it.
            (THUMB1_ONLY): Define for Thumb-1 only targets.
            (THUMB_V7M_V6M): Rename to ...
            (THUMB_VXM): This.  Defined based on __ARM_ARCH_ISA_ARM, excluding
            ARMv7.
            * libc/sys/arm/crt0.S: Use PREFER_THUMB rather than THUMB_V7_V6M and
            rename THUMB_V7M_V6M into THUMB_VXM.
            * libc/sys/arm/swi.h: Likewise.

commit 0b42ea79606c46f730e4f2427cc8244f85bdac98
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 28 11:15:33 2016 +0100

    Deprecate newlib and winsup ChangeLog files
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]