summaryrefslogtreecommitdiff
path: root/lib/libc/posix1e/acl_copy.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-1/+3
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326193
* Add NFSv4 ACL support to libc.Edward Tomasz Napierala2009-06-251-2/+16
| | | | | | | | | | | | | | 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@ Notes: svn path=/head/; revision=194955
* Replace the non-standard disclaimer with the standard one from /COPYRIGHTWarner Losh2008-11-041-8/+8
| | | | | | | Approved by: jedgar@ Notes: svn path=/head/; revision=184607
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+3
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* o style and consistency fixes:Chris D. Faulhaber2002-02-171-6/+6
| | | | | | | | | - if (!var) -> if (var == NULL) - return val; -> return (val); o update copyright Notes: svn path=/head/; revision=90781
* o Separate acl_t into internal and external representations asChris D. Faulhaber2001-04-241-1/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=75928
* Prepare for the inclusion of libposix1e into libc: retire the oldThomas Moestl2001-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 Notes: svn path=/head/; revision=75185
* Add the following ACL editing functions:Chris D. Faulhaber2001-03-221-0/+69
acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry, acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type, acl_set_permset, acl_set_qualifier, acl_set_tag_type This brings us within 4 functions of a full ACL editing library. Reviewed by: rwatson Notes: svn path=/head/; revision=74667