newlib-cygwin/winsup/cygwin/include/cygwin
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
..
acl.h cygwin/acl.h: Don't clutter namespace 2016-03-08 13:56:40 +01:00
config.h cygwin: fix errors with GCC 5 2016-02-12 12:08:40 -06:00
core_dump.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
cygwin_dll.h headers: properly decorate attributes 2014-08-01 15:48:37 +00:00
fs.h * fhandler.h (class fhandler_dev_raw): Add members devbufalloc and 2012-10-13 12:34:18 +00:00
grp.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
hdreg.h
icmp.h
if.h * include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h 2013-05-31 08:40:35 +00:00
in.h * include/cygwin/in.h (struct in_addr): Guard with s_addr to avoid 2012-10-10 08:36:33 +00:00
in6.h * include/cygwin/in6.h (struct ipv6_rt_hdr): Define. 2014-01-20 17:25:54 +00:00
in_systm.h
ipc.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
kd.h
msg.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
mtio.h * fhandler_tape.cc (mtinfo_drive::create_partitions): Allow partitioning 2013-08-21 20:28:12 +00:00
rdevio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sem.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
shm.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
signal.h cygwin: accept SIGIOT as alias of SIGABRT 2016-02-18 08:20:03 -06:00
socket.h * include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as type 2015-01-08 13:12:50 +00:00
sockios.h
stat.h Throughout, keep function definitions and declarations in sync with 2013-11-25 11:38:08 +00:00
stdlib.h 2015-02-19 Jon TURNEY <jon.turney@dronecode.org.uk> 2015-02-20 12:13:59 +00:00
sysproto.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
time.h * common.din (stime): Export. 2014-10-22 19:03:02 +00:00
types.h POSIX barrier implementation, take 3 2016-02-13 16:03:15 +01:00
utmp.h
version.h Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
wait.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00