| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
such as "setfacl -m ''".
|
|
|
|
| |
Reviewed by: rwatson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initially, 'acl' (an 'acl_t *') is allocated, and its ACCESS_ACL and
DEFAULT_ACL fields are passed to the 'libc' ACL routines for subsequent
allocation. If the '-m' option (merge existing ACL with a new one) is
specified, then 'set_acl_mask()' will be called and passed one of the
two ACLs. This function, in turn, replaces this given ACL structure by
another, freshly allocated. However, the pointer in the 'acl' variable
in the caller is not updated. The caller then proceeds to free the ACL,
incurring in a double free condition.
Submitted by: Pedro Martelletto <pedro at ambientworks.net>
Approved by: rwatson (mentor)
|
|
|
|
|
| |
Pointed out by: rwatson
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
Before this fix the -h flag was ignored (i.e. setfacl
always set the ACL on the file pointed to by the symbolic
link even when the -h flag requested that the ACL be set
on the symbolic link itself).
|
| |
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Approved by: kan (mentor)
|
|
|
|
|
|
|
|
|
| |
next read filename overwrite previous one, resulting in acl being
applied only to the last name in the list.
Submitted by: Oleg Lomaka <oleg.lomaka at gmail com>
MFC after: 1 week
Approved by: kan (mentor)
|
| |
|
| |
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
tools such as chmod(1) and ls(1) when it comes to acting on objects
that have POSIX.1e extended ACLs. Specifically, discuss the
substitution of the mask entry for the group entry in the mode
representation of the ACL. Differently worded from the submission,
and could probably use further refinement.
PR: 55319
Submitted by: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
|
|
|
|
|
| |
PR: 55318
Submitted by: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
|
|
|
|
|
|
|
|
| |
ACL that generated the error, rather than the function, which is
more user-friendly.
Obtained from: TrustedBSD Project
Product of: France
|
|
|
|
|
|
|
| |
similar to "-h" on chown, chmod, etc, causing the operation to occur
on a final symlink in the provided path, rather than its target.
Obtained from: TrustedBSD Project
|
| |
|
| |
|
| |
|
|
|
|
| |
operation under Linux).
|
| |
|
|
|
|
|
|
| |
set WARNS=0.
Reviewed by: mike
|
|
|
|
|
|
| |
two nested while loops into a separate function.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
to enhance readability.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
clarify description.
|
|
|
|
|
|
|
|
|
| |
group ACL entry in relation to the existing group and mask
ACL entries.
o Move the explanation of multiple ACL entries on the command
line to the ACL ENTRIES section.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
o Fix style nits
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
|
|
| |
be properly set.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
has been integrated into libc.
Approved by: rwatson
Obtained from: TrustedBSD Project
|
| |
|
|
|
|
|
|
| |
Add DPADD
Submitted by: bde
|
| |
|
| |
|
|
from files and directories, and setfacl sets ACLs on files and directories.
Submitted by: jedgar
Obtained from: TrustedBSD Project
|