summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
Commit message (Collapse)AuthorAgeFilesLines
* MFC r318704,r318708,r318709:ngie2017-07-183-4/+5
| | | | | | | | | | | | | | r318704: posix1e(3): reference using the section (3) when referencing libbsm with .Xr r318708: acl_create_entry(3): separate .Nm entries with commas in SYNOPSIS r318709: acl_to_text(3): start sentences on new lines
* MFC r297790:ngie2016-12-031-1/+1
| | | | | | | | | | | r297790 (by pfg): libc: replace 0 with NULL for pointers. While here also cleanup some surrounding code; particularly drop some malloc() casts. Found with devel/coccinelle.
* MFC r289195:ngie2015-11-152-1/+3
| | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
* MFC r287093:delphij2015-09-081-1/+1
| | | | | | | Instead of doing an no-op (|= 0), actually clear the flags in acl_clear_flags_np. Reported by: Pascal Drecker <pascal freebsd drecker com>
* MFC r285873:trasz2015-08-022-24/+2
| | | | | | | Update Capsicum and Mandatory Access Control manual pages to no longer claim they are experimental. Sponsored by: The FreeBSD Foundation
* MFC r274722:trasz2015-01-071-43/+0
| | | | | | | | Remove acl_size.c; apparently it was never used. PR: 194398 Submitted by: ngie@ Sponsored by: The FreeBSD Foundation
* MFC r273854:trasz2014-11-291-5/+9
| | | | | | Update acl(3) to expand on NFSv4 ACL support. Sponsored by: The FreeBSD Foundation
* MFC r273853:trasz2014-11-297-14/+14
| | | | | | Make it clear that ACL flags are NFSv4-only. Sponsored by: The FreeBSD Foundation
* MFC: r264507brueffer2014-04-231-1/+7
| | | | Mention Capsicum.
* MFC r258043:trasz2013-12-031-1/+1
| | | | | | | Fix typo. Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r258042:trasz2013-12-031-4/+3
| | | | | | | Fix description to actually make sense. Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r258041:trasz2013-12-031-1/+6
| | | | | | | Mention acl_get_brand_np(3). Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* libc: Make various internal file descriptors from fopen() close-on-exec.jilles2013-08-231-1/+1
|
* Fix several typoseadler2013-05-121-1/+1
| | | | | | PR: kern/176054 Submitted by: Christoph Mallon <christoph.mallon@gmx.de> MFC after: 3 days
* Minor mdoc nits.joel2012-05-131-1/+1
|
* General mdoc(7) and typo fixes.gjb2012-05-111-1/+1
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* mandoc complains loudly when <TAB>s are misused in columnated lists. Fixjoel2012-03-295-33/+33
| | | | | this syntax violation and while I'm here also convert <TAB> to Ta and adjust quotation marks in order to prevent this problem in the future.
* Remove trailing whitespace per mdoc lint warningeadler2012-03-292-2/+2
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Remove superfluous paragraph macro.joel2012-03-251-1/+0
|
* Make it possible to use permission sets (full_set, modify_set, read_settrasz2011-04-091-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 variabletrasz2011-03-221-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 (threetrasz2011-03-041-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.trasz2010-12-131-1/+1
|
* After PSARC/2010/029, "canonical six" no longer exists.trasz2010-12-131-1/+3
|
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-086-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 makestrasz2010-09-201-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,trasz2010-09-091-1/+1
| | | | | | this and previous one are MFC candidate. MFC after: 1 month
* Add minor optimization. It's less strict than its kernel counterparttrasz2010-09-091-0/+9
| | | | due to upcoming ACL changes required by the new ZFS.
* Spelling fixes.joel2010-08-022-4/+4
|
* Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and grouptrasz2010-07-063-40/+10
| | | | | | names names starting with a digit. MFC after: 1 month
* Remove comment which didn't match reality for a long time.trasz2010-07-051-3/+0
| | | | Reviewed by: rwatson
* Separate _posix1e_acl_id_to_name() into a separate file, tokientzle2010-06-143-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).trasz2010-06-051-5/+5
| | | | | | Found with: Coverity Prevent CID: 7466, 7467 MFC after: 2 weeks
* Don't forget to free the string in error case.trasz2010-06-031-0/+1
| | | | | Found with: Coverity Prevent CID: 6585
* _posix1e_acl_sort() never returns anything other than 0; change itstrasz2010-06-034-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.trasz2010-06-031-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.trasz2010-06-031-2/+1
| | | | | Found with: Coverity Prevent CID: 6192
* The 'acl_cnt' field is unsigned; no point in checking if it's >= 0.trasz2010-06-031-1/+1
| | | | | Found with: Coverity Prevent CID: 6193
* Make acl_get_perm_np(3) work with NFSv4 ACLs.trasz2010-05-232-24/+18
| | | | | Reviewed by: kientzle@ MFC after: 1 week
* Make branding less intrusive - in acl_set(3), in case ACL brandtrasz2010-05-131-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)trasz2010-05-131-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/Osuqs2010-04-141-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.trasz2010-03-281-7/+4
| | | | | PR: amd64/145091 MFC after: 2 weeks
* Switch to our preferred license text.joel2010-03-071-8/+8
| | | | Approved by: jedgar
* Use our standard license text. No more voices in the authors head. :-)joel2010-03-049-72/+72
| | | | Approved by: trasz
* s/APIS/APIs - not part of the original submission.trhodes2010-02-111-2/+2
|
* Correct two typoes.trhodes2010-02-111-1/+1
| | | | Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
* Don't forget to clean up the file copied from the kernel sources.ed2010-01-021-0/+2
| | | | MFC after: 1 week
* Use a local copy of entry_d for finding matches. Otherwise, if entry_d pointedmarkus2009-12-251-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>.ed2009-12-051-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).
OpenPOWER on IntegriCloud