summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_calc_mask.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression introduced with NFSv4 ACL support - make acl_to_text(3)trasz2009-09-011-6/+7
| | | | | | | | | and acl_calc_mask(3) return error instead of crashing when acl passed to them is NULL. Submitted by: markus Reviewed by: rwatson MFC after: 3 days
* Add NFSv4 ACL support to libc.trasz2009-06-251-0/+8
| | | | | | | | | | | This adds the following functions to the acl(3) API: acl_add_flag_np, acl_clear_flags_np, acl_create_entry_np, acl_delete_entry_np, acl_delete_flag_np, acl_get_extended_np, acl_get_flag_np, acl_get_flagset_np, acl_set_extended_np, acl_set_flagset_np, acl_to_text_np, acl_is_trivial_np, acl_strip_np, acl_get_brand_np. Most of them are similar to what Darwin does. There are no backward-incompatible changes. Approved by: rwatson@
* Replace the non-standard disclaimer with the standard one from /COPYRIGHTimp2008-11-041-8/+8
| | | | Approved by: jedgar@
* Fix the style of the SCM ID's.obrien2002-03-221-2/+3
| | | | I believe have made all of libc .c's as consistent as possible.
* o style and consistency fixes:jedgar2002-02-171-9/+9
| | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); o update copyright
* o Separate acl_t into internal and external representations asjedgar2001-04-241-43/+40
| | | | | | | | | | | 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
* Add the following POSIX 1003.1e functions and man pages:jedgar2001-03-191-0/+119
| | | | | | | | | o acl_calc_mask(): calculates the ACL mask entry associated with the given ACL. o acl_delete_entry(): remove a specified ACL entry from the given ACL. Approved by: rwatson
* A few more touchups:rwatson2000-01-261-71/+0
| | | | | | | | | - clean up unneeded AFS ID type - Add Coda, NTFS, NWFS ACL types - Add acl_dup() prototype - Remove acl_calc_mask, which belongs in the editing library - Introduce posix1e.3, a man page introducing POSIX.1e library calls (more man pages to follow)
* Minor fixes to library interface to improve POSIX.1e compliance. Thisrwatson2000-01-261-4/+1
| | | | | | | | | | 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/+74
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