[newlib-cygwin/topic/posix_acl_funcs] (7 commits) acl_create_entry: Don't invalidate existing entry_d and per

Corinna Vinschen corinna@sourceware.org
Sat Jan 16 13:33:00 GMT 2016


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

 230eede... acl_create_entry: Don't invalidate existing entry_d and per

It previously pointed to:

 bc1b39c... This is also a test

Diff:

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

  bc1b39c... This is also a test
  6dd7601... This is a test commit
  0955cd0... acl_create_entry: Don't invalidate existing entry_d and per
  8872640... __acltotext: Always append NUL
  0fc1029... Implement POSIX.1e ACL functions
  0305266... cygwin/acl.h: Don't clutter namespace

commit bc1b39c2247dad9ccea9c3450b442bbc04c5006e
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Fri Jan 15 16:58:45 2016 +0000

    This is also a test

commit 6dd7601b0181800098617521927bcb4c8c621866
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Fri Jan 15 16:56:01 2016 +0000

    This is a test commit

commit 0955cd0c88185f56ca5d6717d578a815baf9c6c3
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 88726403f89a1b1723aaa191e0563abf4f82ffb6
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 0fc10297e3a235bd1a8546d5fb7ddea7c87f27ec
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 0305266b5fcfb6776eca562014d9d38aa6efe71a
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):
-----------------------------------

  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
  3a720bf... Bump cygwin version to 2.4.1
  9c8a6e5... faq: Update FAQ question and answer about gdb and signals
  d221627... get_posix_access: Fix group deny bits leaking into file typ

commit 230eede23a459d4b63dbacdb4336d6c03afabdc9
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 1eabae473a099dddba4beb42b14b4956336a6dea
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 5dcf28333460f91b9f6979f5ee6cf2b3f907c96a
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 ad32f25d8aa71a56c4694bcd01762ba1cc70b40e
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 3a720bf3f0d3c8f84b6b5360863544978d3ae90e
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Sat Jan 16 12:57:53 2016 +0100

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

commit 9c8a6e56460cfa0b122884121561cb90a1864971
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Jan 14 17:44:18 2016 +0000

    faq: Update FAQ question and answer about gdb and signals
    
        * faq-programming.xml: Update question and answer about gdb and signals.
    
    Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>

commit d2216272f5a9ff2b9abcff31348ea28cc5805dbf
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Jan 15 15:13:11 2016 +0100

    get_posix_access: Fix group deny bits leaking into file type attribute bits
    
    	* sec_acl.cc (get_posix_access): Fix bracketing in expression
    	constructing POSIX group permissions so as not leaking deny bits
    	into POSIX file type bits.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>



More information about the Cygwin-cvs mailing list