| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/stable/8/; revision=214626
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add minor optimization. It's less strict than its kernel counterpart
due to upcoming ACL changes required by the new ZFS.
MFC r212379:
Fix previous commit.
Notes:
svn path=/stable/8/; revision=214624
|
| |
|
|
|
|
|
|
|
|
| |
- order prologue by Dd/Dt/Os
- fix prologue
- remove empty lines and other garbage
- uppercase document title
Notes:
svn path=/stable/8/; revision=211872
|
| |
|
|
|
|
|
|
| |
Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and group
names names starting with a digit.
Notes:
svn path=/stable/8/; revision=210867
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=209047
|
| |
|
|
|
|
|
|
|
| |
Found with: Coverity Prevent
CID: 7517
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=209046
|
| |
|
|
|
|
|
|
|
|
| |
Make acl_get_perm_np(3) work with NFSv4 ACLs.
Reviewed by: kientzle@
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=208756
|
| |
|
|
|
|
|
|
| |
Make branding less intrusive - in acl_set(3), in case ACL brand
is ACL_BRAND_UNKNOWN, do what the programmer says instead of failing.
Notes:
svn path=/stable/8/; revision=208359
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/stable/8/; revision=208358
|
| |
|
|
|
|
|
|
|
| |
Make acl_to_text_np(3) not crash on long group or user names in NFSv4 ACLs.
PR: amd64/145091
Notes:
svn path=/stable/8/; revision=206542
|
| |
|
|
|
|
|
|
|
|
| |
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.
Approved by: emax (mentor)
Notes:
svn path=/stable/8/; revision=201260
|
| |
|
|
|
|
|
| |
Fix a memory leak in acl_from_text() in case the conversion succeeded.
Notes:
svn path=/stable/8/; revision=199700
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix regression introduced with NFSv4 ACL support - make acl_to_text(3)
and acl_calc_mask(3) return error instead of crashing when acl passed
to them is NULL.
Submitted by: markus
Reviewed by: rwatson
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=196862
|
| |
|
|
|
|
|
|
|
|
| |
Update posix1e-related man pages, especially as relates to MAC, to more
accurately reflect the last ten years of work.
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=196190
|
| |
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/head/; revision=195692
|
| |
|
|
|
|
|
| |
anything about _PC_ACL_NFS4.
Notes:
svn path=/head/; revision=195004
|
| |
|
|
| |
Notes:
svn path=/head/; revision=194970
|
| |
|
|
|
|
|
| |
contents.
Notes:
svn path=/head/; revision=194957
|
| |
|
|
| |
Notes:
svn path=/head/; revision=194956
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
Notes:
svn path=/head/; revision=194955
|
| |
|
|
|
|
|
|
| |
Reviewed by: rwatson@
MFC after: 2 weeks
Notes:
svn path=/head/; revision=192966
|
| |
|
|
|
|
|
| |
Submitted by: rwatson@
Notes:
svn path=/head/; revision=192804
|
| |
|
|
|
|
|
| |
Reviewed by: rwatson (earlier version)
Notes:
svn path=/head/; revision=192638
|
| |
|
|
|
|
|
|
|
| |
compatibility interfaces in both kernel and libc.
Reviewed by: rwatson
Notes:
svn path=/head/; revision=192586
|
| |
|
|
|
|
|
|
|
|
| |
xref libbsm(3).
Submitted by: rwatson
MFC after: 3 days
Notes:
svn path=/head/; revision=192410
|
| |
|
|
| |
Notes:
svn path=/head/; revision=191520
|
| |
|
|
|
|
|
| |
Approved by: jedgar@
Notes:
svn path=/head/; revision=184607
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=180493
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=176901
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
net: endhostdnsent is named _endhostdnsent and is
private to netdb family of functions.
posix1e: acl_size.c has been never compiled in,
so there's no "acl_size".
rpc: "getnetid" is a static function.
stdtime: "gtime" is #ifdef'ed out in the source.
some symbols are specific only to some architectures,
e.g., ___tls_get_addr is only defined on i386.
__htonl, __htons, __ntohl and __ntohs are no longer
functions, they are now (internal) defines in
<machine/endian.h>.
Submitted by: ru
Notes:
svn path=/head/; revision=170154
|
| |
|
|
| |
Notes:
svn path=/head/; revision=169092
|
| |
|
|
|
|
|
|
|
|
|
|
| |
acl_from_text.c. Since acl_from_text.c is the only place it
is used, we can now make this internal utility function "static."
As a bonus, acl_set_fd() no longer pulls in getpwuid() for no reason.
MFC after: 7 days
Notes:
svn path=/head/; revision=167006
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162841
|
| |
|
|
|
|
|
|
|
|
| |
old file, update references, etc. The C function is already named
mac_is_present().
Obtained from: TrustedBSD Project
Notes:
svn path=/head/; revision=160154
|
| |
|
|
| |
Notes:
svn path=/head/; revision=156613
|
| |
|
|
|
|
|
| |
Reviewed by: davidxu
Notes:
svn path=/head/; revision=156608
|
| |
|
|
| |
Notes:
svn path=/head/; revision=152718
|
| |
|
|
| |
Notes:
svn path=/head/; revision=152551
|
| |
|
|
|
|
|
| |
the function definition.
Notes:
svn path=/head/; revision=150065
|
| |
|
|
|
|
|
|
|
|
|
| |
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
Notes:
svn path=/head/; revision=148580
|
| |
|
|
|
|
|
|
| |
Submitted by: Wojciech A. Koszek [dunstan at freebsd czest pl]
Approved by: re (hrs)
Notes:
svn path=/head/; revision=147750
|
| |
|
|
| |
Notes:
svn path=/head/; revision=146937
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=140664
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140505
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140288
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140081
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is supported.
-Document the new more preferred syntax
-Add examples for the new syntax
-Add a note that the old syntax will be deprecated in the future.
Reviewed by: rwatson
Notes:
svn path=/head/; revision=137865
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131635
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131539
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131504
|