Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make it possible to use permission sets (full_set, modify_set, read_set | trasz | 2011-04-09 | 1 | -1/+5 |
| | | | | | | | | and write_set) with setfacl(1). PR: kern/154113 Submitted by: Shawn Webb <lattera at gmail dot com> (earlier version) MFC after: 1 month | ||||
* | Move the code around so that libc behaviour does not depend on a variable | trasz | 2011-03-22 | 1 | -8/+4 |
| | | | | that was supposed to be kernel-only. There should be no functional changes. | ||||
* | Make acl_strip_np(3) use new trivial ACL format for NFSv4 ACls (three | trasz | 2011-03-04 | 1 | -1/+1 |
| | | | | | | | | entries instead of six). This makes "setfacl -b" do the right thing for ACLs on ZFS. UFS recognizes both kinds of trivial ACLs; no change there. MFC after: 2 months | ||||
* | Bump manual page date. | trasz | 2010-12-13 | 1 | -1/+1 |
| | |||||
* | After PSARC/2010/029, "canonical six" no longer exists. | trasz | 2010-12-13 | 1 | -1/+3 |
| | |||||
* | mdoc: drop redundant .Pp and .LP calls | uqs | 2010-10-08 | 6 | -7/+0 |
| | | | | They have no effect when coming in pairs, or before .Bl/.Bd | ||||
* | First step at adopting FreeBSD to support PSARC/2010/029. This makes | trasz | 2010-09-20 | 1 | -6/+26 |
| | | | | | | acl_is_trivial_np(3) properly recognize the new trivial ACLs. From the user point of view, that means "ls -l" no longer shows plus signs for all the files when running ZFS v28. | ||||
* | Arrgh, tested wrong source tree _again_. Fix previous commit. Also, | trasz | 2010-09-09 | 1 | -1/+1 |
| | | | | | | this and previous one are MFC candidate. MFC after: 1 month | ||||
* | Add minor optimization. It's less strict than its kernel counterpart | trasz | 2010-09-09 | 1 | -0/+9 |
| | | | | due to upcoming ACL changes required by the new ZFS. | ||||
* | Spelling fixes. | joel | 2010-08-02 | 2 | -4/+4 |
| | |||||
* | Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and group | trasz | 2010-07-06 | 3 | -40/+10 |
| | | | | | | names names starting with a digit. MFC after: 1 month | ||||
* | Remove comment which didn't match reality for a long time. | trasz | 2010-07-05 | 1 | -3/+0 |
| | | | | Reviewed by: rwatson | ||||
* | Separate _posix1e_acl_id_to_name() into a separate file, to | kientzle | 2010-06-14 | 3 | -55/+101 |
| | | | | | | break an unnecessary dependency on getpwuid() and getgrgid(). MFC after: 1 month | ||||
* | Don't use pointer to 64 bit value (id_t) to point to 32 bit value (uid_t). | trasz | 2010-06-05 | 1 | -5/+5 |
| | | | | | | Found with: Coverity Prevent CID: 7466, 7467 MFC after: 2 weeks | ||||
* | Don't forget to free the string in error case. | trasz | 2010-06-03 | 1 | -0/+1 |
| | | | | | Found with: Coverity Prevent CID: 6585 | ||||
* | _posix1e_acl_sort() never returns anything other than 0; change its | trasz | 2010-06-03 | 4 | -55/+15 |
| | | | | | | | | return type to void and update callers. This simplifies code and fixes one place where the returned value was not actually checked. Found with: Coverity Prevent CID: 4791 | ||||
* | Fix usage of uninitialized variable. | trasz | 2010-06-03 | 1 | -1/+1 |
| | | | | | | Found with: Coverity Prevent CID: 7517 MFC after: 2 weeks | ||||
* | The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. | trasz | 2010-06-03 | 1 | -2/+1 |
| | | | | | Found with: Coverity Prevent CID: 6192 | ||||
* | The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. | trasz | 2010-06-03 | 1 | -1/+1 |
| | | | | | Found with: Coverity Prevent CID: 6193 | ||||
* | Make acl_get_perm_np(3) work with NFSv4 ACLs. | trasz | 2010-05-23 | 2 | -24/+18 |
| | | | | | Reviewed by: kientzle@ MFC after: 1 week | ||||
* | Make branding less intrusive - in acl_set(3), in case ACL brand | trasz | 2010-05-13 | 1 | -0/+3 |
| | | | | | | is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing. MFC after: 1 week | ||||
* | Make it possible to actually use NFSv4 permission bits with acl_set_perm(3) | trasz | 2010-05-13 | 1 | -20/+32 |
| | | | | | | | and acl_delete_perm(3). It went undetected, because neither setfacl(1) nor Samba use this routines. D'oh. MFC after: 1 week | ||||
* | mdoc: order prologue macros consistently by Dd/Dt/Os | uqs | 2010-04-14 | 1 | -1/+1 |
| | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) | ||||
* | Make acl_to_text_np(3) not crash on long group or user names in NFSv4 ACLs. | trasz | 2010-03-28 | 1 | -7/+4 |
| | | | | | PR: amd64/145091 MFC after: 2 weeks | ||||
* | Switch to our preferred license text. | joel | 2010-03-07 | 1 | -8/+8 |
| | | | | Approved by: jedgar | ||||
* | Use our standard license text. No more voices in the authors head. :-) | joel | 2010-03-04 | 9 | -72/+72 |
| | | | | Approved by: trasz | ||||
* | s/APIS/APIs - not part of the original submission. | trhodes | 2010-02-11 | 1 | -2/+2 |
| | |||||
* | Correct two typoes. | trhodes | 2010-02-11 | 1 | -1/+1 |
| | | | | Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> | ||||
* | Don't forget to clean up the file copied from the kernel sources. | ed | 2010-01-02 | 1 | -0/+2 |
| | | | | MFC after: 1 week | ||||
* | Use a local copy of entry_d for finding matches. Otherwise, if entry_d pointed | markus | 2009-12-25 | 1 | -1/+6 |
| | | | | | | | | to an entry of 'acl', all ACL entries starting with entry_d would be deleted. Reviewed by: trasz Approved by: emax (mentor) MFC after: 3 days | ||||
* | Don't let the C library depend on <utmp.h>. | ed | 2009-12-05 | 1 | -4/+3 |
| | | | | | | The maximum length of a username has nothing to do with the size of the username in the utmp files. Use MAXLOGNAME, which is defined as 17 (UT_USERSIZE + 1). | ||||
* | Fix a memory leak in acl_from_text() in case the conversion succeeded. | brueffer | 2009-11-16 | 1 | -0/+1 |
| | | | | | Submitted by: Jim Wilcoxson <prirun@gmail.com> MFC after: 1 week | ||||
* | Fix regression introduced with NFSv4 ACL support - make acl_to_text(3) | trasz | 2009-09-01 | 2 | -11/+12 |
| | | | | | | | | | 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 | ||||
* | Style: Remove trailing whitespace. | kientzle | 2009-08-29 | 1 | -11/+11 |
| | |||||
* | Update posix1e-related man pages, especially as relates to MAC, to more | rwatson | 2009-08-12 | 7 | -156/+129 |
| | | | | | | accurately reflect the last ten years of work. Approved by: re (kib) | ||||
* | Add missing MLINKS for acl_{get,set}_link_fd(3). | trasz | 2009-07-14 | 1 | -0/+2 |
| | | | | Approved by: re (kib) | ||||
* | Fix acl_set_fd(3) and acl_get_fd(3) for cases where the kernel doesn't know | trasz | 2009-06-25 | 2 | -2/+3 |
| | | | | anything about _PC_ACL_NFS4. | ||||
* | Manual page tweaks. | trasz | 2009-06-25 | 1 | -2/+2 |
| | |||||
* | Fix c194955 - somehow I managed all the new files, tripling their | trasz | 2009-06-25 | 17 | -4664/+0 |
| | | | | contents. | ||||
* | Bump manual page timestamps. | trasz | 2009-06-25 | 18 | -18/+18 |
| | |||||
* | Add NFSv4 ACL support to libc. | trasz | 2009-06-25 | 39 | -167/+7759 |
| | | | | | | | | | | | 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@ | ||||
* | Fix off by one error in acl_create_entry(3). | trasz | 2009-05-28 | 1 | -1/+6 |
| | | | | | Reviewed by: rwatson@ MFC after: 2 weeks | ||||
* | Change license to more bori^Wadul^Wcanonical. | trasz | 2009-05-26 | 1 | -11/+11 |
| | | | | Submitted by: rwatson@ | ||||
* | Improve API documentation. | trasz | 2009-05-23 | 5 | -1/+39 |
| | | | | Reviewed by: rwatson (earlier version) | ||||
* | Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide | trasz | 2009-05-22 | 11 | -6/+111 |
| | | | | | | compatibility interfaces in both kernel and libc. Reviewed by: rwatson | ||||
* | Since audit(4) isn't based on posix1e, remove the commented out audit.h header, | brueffer | 2009-05-19 | 1 | -2/+2 |
| | | | | | | | xref libbsm(3). Submitted by: rwatson MFC after: 3 days | ||||
* | Fix typo. | trasz | 2009-04-26 | 1 | -1/+1 |
| | |||||
* | Replace the non-standard disclaimer with the standard one from /COPYRIGHT | imp | 2008-11-04 | 19 | -152/+152 |
| | | | | Approved by: jedgar@ | ||||
* | The libc acl_valid(3) function validates the contents of a POSIX.1e ACL. | rwatson | 2008-07-13 | 1 | -8/+2 |
| | | | | | | | | | | This change removes the requirement that an ACL contain no ACL_USER entries with a uid the same as those of a file, or ACL_GROUP entries with a gid the same as those of a file. This requirement is not in the specification, and not enforced by the kernel's ACL implementation. Reported by: Iustin Pop <iusty at k1024 dot org> MFC after: 1 week | ||||
* | Add __FBSDID() tags. | rwatson | 2008-03-07 | 4 | -8/+12 |
| | | | | MFC after: 3 days |