newlib/winsup/utils
Corinna Vinschen 9ddf063921 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>
2016-03-08 13:56:40 +01:00
..
COPYING.dumper
ChangeLog Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
ChangeLog-2000
ChangeLog-2015 Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
ChangeLog.64bit * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
Makefile.in * Makefile.in: Add rules to create and depend on tzmap.h. 2014-12-05 13:41:52 +00:00
aclocal.m4 winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
autogen.sh
bloda.cc
configure * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
configure.ac * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
cygcheck.cc cygcheck.cc: Fix missing commas in products array 2015-08-30 21:46:58 +02:00
cygpath.cc cygpath: Avoid returning SysWOW64 2016-01-21 18:40:30 +01:00
cygwin-console-helper.cc
dump_setup.cc * dump_setup.cc (check_package_files): Accommodate postinstall 2015-02-17 23:36:23 +00:00
dumper.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
dumper.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
getconf.c winsup/utils: add CPU cache variables to getconf(1) 2015-10-22 12:51:20 -05:00
getfacl.c Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
kill.cc Fix SEGV of kill -l 0 2015-11-26 22:31:01 +01:00
ldd.cc Fix potential hang in ldd if DLL encounters missing entry point 2015-07-20 18:32:24 +02:00
ldh.cc
loadlib.h
locale.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
minidumper.cc * minidumper.cc (filter_minidump_type): New function. 2014-05-13 10:26:26 +00:00
mkgroup.c * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZE 2015-02-25 20:18:29 +00:00
mkpasswd.c * mkgroup.c (MAX_SID_LEN): Remove. Instead, use SECURITY_MAX_SID_SIZE 2015-02-25 20:18:29 +00:00
module_info.cc * Makefile.in (cygcheck.exe): Link against wininet.dll. 2013-11-19 11:14:36 +00:00
mount.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
parse_pe.cc * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
passwd.c * passwd.c (GetPW): If server is NULL, and the user is not a local 2014-11-24 11:07:32 +00:00
path.cc Bind mounts require POSIX paths 2015-06-08 17:37:55 +02:00
path.h
pldd.c
ps.cc cygwin: Fix copyright dates 2015-07-29 13:45:46 +02:00
regtool.cc * regtool.cc (longopts): Add --force option. 2015-02-03 15:14:57 +00:00
setfacl.c Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
setmetamode.c
ssp.c ssp: Fixes for 64-bit 2016-02-20 11:26:50 +00:00
ssp.txt
strace.cc strace: Handle ofile descriptor more carefully. 2015-08-03 12:02:17 +02:00
testsuite.cc
testsuite.h
tzmap-from-unicode.org Asia/Calcutta -> Asia/Kolkata (not on unicode.org) 2015-04-23 22:03:45 +02:00
tzmap.h Asia/Calcutta -> Asia/Kolkata (not on unicode.org) 2015-04-23 22:03:45 +02:00
tzset.c cygwin: Fix copyright dates 2015-07-29 13:45:46 +02:00
umount.cc
wide_path.h * cygpath.cc (do_pathconv): when -p option is given, generate wide 2013-06-26 13:10:35 +00:00