pfg
d749a6e6c7
libc: plug memory leaks in edge cases for the posix1e code.
...
CID: 1016705
CID: 1016706
CID: 1016707
Differential Revision: https://reviews.freebsd.org/D2023
2015-03-13 18:42:43 +00:00
brueffer
9031d3b270
Various mdoc fixes and a few EOL whitespace removals.
...
Found with: mandoc -Tlint
2014-12-21 12:36:36 +00:00
trasz
b44ab9b970
Remove acl_size.c; apparently it was never used.
...
PR: 194398
Submitted by: ngie@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-11-19 19:43:39 +00:00
trasz
b46ff50d01
Update acl(3) to expand on NFSv4 ACL support.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-10-30 10:56:38 +00:00
trasz
5375ed16d4
Make it clear that ACL flags are NFSv4-only.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-10-30 10:49:50 +00:00
bapt
2cd08a1172
use .Mt to mark up email addresses consistently (part4)
...
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
2014-06-23 08:25:03 +00:00
brueffer
e9d7536fae
Correct sorting.
2014-04-15 16:31:23 +00:00
brueffer
1208a66e98
Mention Capsicum.
...
MFC after: 1 week
2014-04-15 16:29:21 +00:00
marcel
99c9726a00
Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}
...
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.
2014-03-04 02:19:39 +00:00
trasz
205adac7b6
Fix typo.
...
Sponsored by: The FreeBSD Foundation
2013-11-12 12:23:54 +00:00
trasz
645458150e
Fix description to actually make sense.
...
Sponsored by: The FreeBSD Foundation
2013-11-12 12:22:52 +00:00
trasz
8ccd081428
Mention acl_get_brand_np(3).
...
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2013-11-12 10:44:41 +00:00
jilles
d2eb50cd0c
libc: Make various internal file descriptors from fopen() close-on-exec.
2013-08-23 13:59:47 +00:00
eadler
6907881cb8
Fix several typos
...
PR: kern/176054
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
MFC after: 3 days
2013-05-12 16:43:26 +00:00
joel
82a81c78d9
Minor mdoc nits.
2012-05-13 14:16:04 +00:00
gjb
8670397617
General mdoc(7) and typo fixes.
...
PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-11 20:06:46 +00:00
joel
f1a6c7f032
mandoc complains loudly when <TAB>s are misused in columnated lists. Fix
...
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.
2012-03-29 16:02:40 +00:00
eadler
1ef5fe44d3
Remove trailing whitespace per mdoc lint warning
...
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
2012-03-29 05:02:12 +00:00
joel
39c40cce12
Remove superfluous paragraph macro.
2012-03-25 12:13:24 +00:00
trasz
53df99cb04
Make it possible to use permission sets (full_set, modify_set, read_set
...
and write_set) with setfacl(1).
PR: kern/154113
Submitted by: Shawn Webb <lattera at gmail dot com> (earlier version)
MFC after: 1 month
2011-04-09 07:42:25 +00:00
trasz
eb401e64c1
Move the code around so that libc behaviour does not depend on a variable
...
that was supposed to be kernel-only. There should be no functional changes.
2011-03-22 17:44:07 +00:00
trasz
a751651e6d
Make acl_strip_np(3) use new trivial ACL format for NFSv4 ACls (three
...
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
2011-03-04 17:23:10 +00:00
trasz
62c21ef295
Bump manual page date.
2010-12-13 19:03:10 +00:00
trasz
969e953241
After PSARC/2010/029, "canonical six" no longer exists.
2010-12-13 19:01:23 +00:00
uqs
8ae3afcfad
mdoc: drop redundant .Pp and .LP calls
...
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
trasz
3e2d23f909
First step at adopting FreeBSD to support PSARC/2010/029. This makes
...
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.
2010-09-20 17:10:06 +00:00
trasz
9925a95918
Arrgh, tested wrong source tree _again_. Fix previous commit. Also,
...
this and previous one are MFC candidate.
MFC after: 1 month
2010-09-09 20:37:19 +00:00
trasz
d7dd2333f7
Add minor optimization. It's less strict than its kernel counterpart
...
due to upcoming ACL changes required by the new ZFS.
2010-09-09 20:07:40 +00:00
joel
52dbc8b634
Spelling fixes.
2010-08-02 16:01:45 +00:00
trasz
01650ad878
Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and group
...
names names starting with a digit.
MFC after: 1 month
2010-07-06 17:20:08 +00:00
trasz
3b22f10bbd
Remove comment which didn't match reality for a long time.
...
Reviewed by: rwatson
2010-07-05 19:01:10 +00:00
kientzle
d044db72cd
Separate _posix1e_acl_id_to_name() into a separate file, to
...
break an unnecessary dependency on getpwuid() and getgrgid().
MFC after: 1 month
2010-06-14 02:26:13 +00:00
trasz
46a01349e9
Don't use pointer to 64 bit value (id_t) to point to 32 bit value (uid_t).
...
Found with: Coverity Prevent
CID: 7466, 7467
MFC after: 2 weeks
2010-06-05 07:40:32 +00:00
trasz
7c23796624
Don't forget to free the string in error case.
...
Found with: Coverity Prevent
CID: 6585
2010-06-03 14:51:29 +00:00
trasz
307713b0cf
_posix1e_acl_sort() never returns anything other than 0; change its
...
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
2010-06-03 14:29:17 +00:00
trasz
26f044985f
Fix usage of uninitialized variable.
...
Found with: Coverity Prevent
CID: 7517
MFC after: 2 weeks
2010-06-03 14:27:18 +00:00
trasz
45e71b2250
The 'acl_cnt' field is unsigned; no point in checking if it's >= 0.
...
Found with: Coverity Prevent
CID: 6192
2010-06-03 14:16:58 +00:00
trasz
0463f9931f
The 'acl_cnt' field is unsigned; no point in checking if it's >= 0.
...
Found with: Coverity Prevent
CID: 6193
2010-06-03 14:15:08 +00:00
trasz
2040787fbf
Make acl_get_perm_np(3) work with NFSv4 ACLs.
...
Reviewed by: kientzle@
MFC after: 1 week
2010-05-23 08:12:36 +00:00
trasz
645d8207e1
Make branding less intrusive - in acl_set(3), in case ACL brand
...
is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing.
MFC after: 1 week
2010-05-13 16:44:27 +00:00
trasz
b01f1cf8e0
Make it possible to actually use NFSv4 permission bits with acl_set_perm(3)
...
and acl_delete_perm(3). It went undetected, because neither setfacl(1)
nor Samba use this routines. D'oh.
MFC after: 1 week
2010-05-13 16:42:01 +00:00
uqs
3960614646
mdoc: order prologue macros consistently by Dd/Dt/Os
...
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)
2010-04-14 19:08:06 +00:00
trasz
b49ccfb35d
Make acl_to_text_np(3) not crash on long group or user names in NFSv4 ACLs.
...
PR: amd64/145091
MFC after: 2 weeks
2010-03-28 17:29:15 +00:00
joel
8a03745eab
Switch to our preferred license text.
...
Approved by: jedgar
2010-03-07 07:59:05 +00:00
joel
0b73196964
Use our standard license text. No more voices in the authors head. :-)
...
Approved by: trasz
2010-03-04 19:38:24 +00:00
trhodes
9aa063fee4
s/APIS/APIs - not part of the original submission.
2010-02-11 19:20:06 +00:00
trhodes
2f0d280191
Correct two typoes.
...
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
2010-02-11 14:45:00 +00:00
ed
a922794e92
Don't forget to clean up the file copied from the kernel sources.
...
MFC after: 1 week
2010-01-02 20:27:14 +00:00
markus
de21e8d4af
Use a local copy of entry_d for finding matches. Otherwise, if entry_d pointed
...
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
2009-12-25 18:05:06 +00:00
ed
e912442e98
Don't let the C library depend on <utmp.h>.
...
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).
2009-12-05 19:04:21 +00:00