newlib-cygwin/winsup/cygwin/include
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 Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
arpa Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
asm Define __s64 and __u64 2015-04-27 14:40:27 +02:00
attr
bits
cygwin Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
machine
net
netinet Define MAX_IPOPTLEN 2015-11-02 15:42:30 +01:00
sys Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
a.out.h
byteswap.h
dlfcn.h
elf.h
endian.h
err.h
error.h
fcntl.h * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's 2014-11-25 11:42:20 +00:00
features.h
fenv.h Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
fnmatch.h
fts.h
ftw.h
getopt.h
glob.h * include/glob.h: Fix invalid use of 'restrict' error. 2013-11-28 10:00:01 +00:00
icmp.h
ifaddrs.h
io.h
lastlog.h
limits.h
mapi.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h * autoload.cc (IdnToAscii): Define. 2013-11-19 13:29:37 +00:00
paths.h
poll.h
process.h
pthread.h POSIX barrier implementation, take 3 2016-02-13 16:03:15 +01:00
pty.h
regex.h
resolv.h Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
search.h
semaphore.h
sysexits.h
syslog.h
termio.h
tzfile.h
ucontext.h Implement getcontext, setcontext, makecontext, swapcontext 2015-07-17 14:31:12 +02:00
utmpx.h Convert utmp{x}name to int, return useful value. Define _PATH_UTMPX 2016-01-07 15:40:40 +01:00
wait.h