summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_to_text.c
Commit message (Collapse)AuthorAgeFilesLines
* o Separate acl_t into internal and external representations asjedgar2001-04-241-16/+19
| | | | | | | | | | | required by POSIX.1e. This maintains the current 'struct acl' in the kernel while providing the generic external acl_t interface required to complete the ACL editing library. o Add the acl_get_entry() function. o Convert the existing ACL utilities, getfacl and setfacl, to fully make use of the ACL editing library. Obtained from: TrustedBSD Project
* Prepare for the inclusion of libposix1e into libc: retire the oldtmm2001-04-041-0/+2
| | | | | | | | | | Makefile, add Makefile.inc needed for libc build; add #include "namespace.h"/#include "un-namespace.h" pairs around the includes of sys/acl.h and sys/capability.h, and an additional underscore in front of the functions that will be overridden in libc_r. Approved by: rwatson Obtained from: TrustedBSD Project
* o Update copyright dates.rwatson2001-03-131-26/+29
| | | | | | | | o Rename internal library functions so that they are prefixed with _posix1e or _POSIX1E, removing them from the application namespace (and potential conflict with other ACL functions elsewhere in the system). Obtained from: TrustedBSD Project
* o When returning NULL, return (NULL) instead of return (0).rwatson2001-01-171-2/+2
| | | | | Submitted by: jedgar Obtained from: TrustedBSD Project
* o acl_from_text.c:rwatson2001-01-091-20/+9
| | | | | | | | | | | | - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency Submitted by: jedgar
* Minor fixes to library interface to improve POSIX.1e compliance. Thisrwatson2000-01-261-13/+2
| | | | | | | | | | adds _np to a couple of function prototypes that provided more broad/useful interfaces than POSIX.1e interfaces included. Also, move from using a heuristic to identify POSIX.1e-semantic ACLs to using different ACL types for non-POSIX.1e ACLs. This should clean up the existing fuzzy logic that determined when acl_sort() should be applied before kernel submission.
* libposix1e provides userland library calls for the POSIX.1e securityrwatson2000-01-151-0/+244
interface. This commit introduces the library, as well as a modest subset of the ACL calls, with some modifications to support multiple ACL semantics. Reviewed by: eivind
OpenPOWER on IntegriCloud