summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
Commit message (Collapse)AuthorAgeFilesLines
* libc: spelling fixes.pfg2016-04-302-2/+2
| | | | Mostly on comments.
* libc: replace 0 with NULL for pointers.pfg2016-04-101-1/+1
| | | | | | | | | While here also cleanup some surrounding code; particularly drop some malloc() casts. Found with devel/coccinelle. Reviewed by: bde (previous version - all new bugs are mine)
* libc: don't build compat functions if building WITHOUT_SYMVERemaste2016-03-151-1/+3
| | | | | | | WITHOUT_SYMVER necessarily implies building a system without symver backwards compatability. Sponsored by: The FreeBSD Foundation
* Fix typos in .Xrs.trasz2016-02-292-2/+2
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Convert casperd(8) daemon to the libcasper.oshogbo2016-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture. Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277
* Remove names from some prototypesrodrigc2015-09-202-5/+5
|
* Adding missing declarations to eliminate -Wmissing-prototypes warningsrodrigc2015-09-202-0/+6
|
* Make it possible to use acl_create_entry_np(3) to use first entry to antrasz2015-09-081-1/+1
| | | | | | | | empty ACL, and to append an entry to an ACL. Submitted by: sef@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Expose an interface to determine if an ACE is inherited.delphij2015-09-042-1/+3
| | | | | | | Submitted by: sef Reviewed by: trasz MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D3540
* Fix acl_strip_np(3) breakage introduced in r279962.trasz2015-09-031-9/+11
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix the way acl_init(3) uses posix_memalign(3) - the latter doesn'ttrasz2015-09-031-1/+3
| | | | | | | set errno. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Instead of doing an no-op (|= 0), actually clear the flags indelphij2015-08-241-1/+1
| | | | | | acl_clear_flags_np. MFC after: 2 weeks
* Update Capsicum and Mandatory Access Control manual pagestrasz2015-07-252-24/+2
| | | | | | | | | to no longer claim they are experimental. Reviewed by: rwatson@, wblock@ MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2985
* libc: plug memory leaks in edge cases for the posix1e code.pfg2015-03-132-4/+11
| | | | | | | | CID: 1016705 CID: 1016706 CID: 1016707 Differential Revision: https://reviews.freebsd.org/D2023
* Various mdoc fixes and a few EOL whitespace removals.brueffer2014-12-211-1/+1
| | | | Found with: mandoc -Tlint
* Remove acl_size.c; apparently it was never used.trasz2014-11-191-43/+0
| | | | | | | PR: 194398 Submitted by: ngie@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Update acl(3) to expand on NFSv4 ACL support.trasz2014-10-301-5/+9
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make it clear that ACL flags are NFSv4-only.trasz2014-10-307-14/+14
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* use .Mt to mark up email addresses consistently (part4)bapt2014-06-2326-26/+26
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* Correct sorting.brueffer2014-04-151-1/+1
|
* Mention Capsicum.brueffer2014-04-151-1/+7
| | | | MFC after: 1 week
* Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}marcel2014-03-041-3/+3
| | | | | | | | | | | if not already defined. This allows building libc from outside of lib/libc using a reach-over makefile. A typical use-case is to build a standard ILP32 version and a COMPAT32 version in a single iteration by building the COMPAT32 version using a reach-over makefile. Obtained from: Juniper Networks, Inc.
* Fix typo.trasz2013-11-121-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* Fix description to actually make sense.trasz2013-11-121-4/+3
| | | | Sponsored by: The FreeBSD Foundation
* Mention acl_get_brand_np(3).trasz2013-11-121-1/+6
| | | | | MFC after: 2 weeks 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
OpenPOWER on IntegriCloud