aboutsummaryrefslogtreecommitdiff
path: root/bin/setfacl/mask.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused headers.Xin LI2020-12-121-3/+0
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=368574
* setfacl: style and break main() into manageable piecesEd Maste2018-04-271-1/+1
| | | | | | | | | | Submitted by: Mitchell Horne MFC with: r332396 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D15060 Notes: svn path=/head/; revision=333065
* Switch to our preferred license text.Joel Dahl2010-03-071-8/+8
| | | | | | | Approved by: jedgar Notes: svn path=/head/; revision=204819
* Add NFSv4 support to setfacl(1).Edward Tomasz Napierala2009-09-071-5/+6
| | | | | | | Reviewed by: rwatson Notes: svn path=/head/; revision=196936
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-1/+1
| | | | Notes: svn path=/head/; revision=139969
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+3
| | | | Notes: svn path=/head/; revision=99110
* Use acl_dup() to duplicate an ACL instead of rolling our ownChris D. Faulhaber2002-02-191-14/+2
| | | | Notes: svn path=/head/; revision=90887
* Use a more correct method of copying entire ACLs (fixesChris D. Faulhaber2002-02-031-3/+16
| | | | | | | operation under Linux). Notes: svn path=/head/; revision=90127
* style(9) cleanups mostly consisting of:Chris D. Faulhaber2001-12-031-9/+8
| | | | | | | | | | | | o explicitly check return values and variables against a value o return x; -> return (x); o fix inconsistent sysexits usage by nuking it (partially suggested by bde) Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=87254
* Correct assignment of the resulting ACL allowing the mask entry toChris D. Faulhaber2001-05-031-1/+1
| | | | | | | | | be properly set. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=76233
* o Separate acl_t into internal and external representations asChris D. Faulhaber2001-04-241-6/+18
| | | | | | | | | | | | | | 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
* o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLsRobert Watson2001-03-191-0/+100
from files and directories, and setfacl sets ACLs on files and directories. Submitted by: jedgar Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=74465