9ddf063921
* 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> |
||
---|---|---|
.. | ||
acl.h | ||
copying.dj | ||
cygwin.h | ||
dirent.h | ||
elf.h | ||
elf32.h | ||
elf64.h | ||
elf_common.h | ||
elf_generic.h | ||
file.h | ||
ioctl.h | ||
ipc.h | ||
kd.h | ||
lock.h | ||
mman.h | ||
mount.h | ||
msg.h | ||
mtio.h | ||
param.h | ||
poll.h | ||
procfs.h | ||
quota.h | ||
resource.h | ||
sem.h | ||
shm.h | ||
smallprint.h | ||
socket.h | ||
soundcard.h | ||
statfs.h | ||
statvfs.h | ||
stdio.h | ||
strace.h | ||
sysinfo.h | ||
syslimits.h | ||
syslog.h | ||
sysmacros.h | ||
sysproto.h | ||
termio.h | ||
termios.h | ||
ttychars.h | ||
ucontext.h | ||
uio.h | ||
un.h | ||
utime.h | ||
utmp.h | ||
utsname.h | ||
vfs.h | ||
wait.h | ||
xattr.h |