libc/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
..
aclocal.m4 winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
autogen.sh ChangeLog: 2012-11-23 13:22:47 +00:00
bloda.cc Update copyrights 2013-01-21 16:28:27 +00:00
ChangeLog Deprecate all winsup ChangeLog files 2016-01-07 21:16:01 +01:00
ChangeLog-2000 * regtool.cc (translate): Ensure that 'c' is initialized. 2001-01-10 14:20:16 +00:00
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
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
COPYING.dumper * dumper.cc: Change license to plain GPLv2 + later. 2007-07-24 19:08:23 +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 * cygwin-console-helper.cc: New file. 2009-07-05 00:01:26 +00:00
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 * ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to 2010-08-28 12:12:53 +00:00
loadlib.h * Makefile.in: Move CFLAGS and CXXFLAGS so that they can be manipulated by 2012-11-28 03:22:36 +00:00
locale.cc * 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
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 * Makefile.in (path-mount.o): Add a rule to build stripped down version 2009-07-22 10:20:26 +00:00
pldd.c * pldd.c: Fix typo in license header. 2012-02-24 21:53:28 +00:00
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 Clean up whitespace. 2011-12-17 23:39:47 +00:00
ssp.c ssp: Fixes for 64-bit 2016-02-20 11:26:50 +00:00
ssp.txt Cleanup formatting on some files. Remove excessive whitespace. 2000-10-28 05:00:00 +00:00
strace.cc strace: Handle ofile descriptor more carefully. 2015-08-03 12:02:17 +02:00
testsuite.cc Update copyrights 2013-01-21 16:28:27 +00:00
testsuite.h Update copyrights 2013-01-21 16:28:27 +00:00
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 Update copyrights 2013-01-21 16:28:27 +00:00
wide_path.h * cygpath.cc (do_pathconv): when -p option is given, generate wide 2013-06-26 13:10:35 +00:00