History log of /freebsd-10-stable/bin/getfacl/getfacl.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 241720 19-Oct-2012 ed

Fix warnings found by -Wmising-variable-declarations.

This self-written compiler warning, which is hopefully going to be
committed into LLVM sources soon, warns about potentially missing
`static' keywords, similar to -Wmissing-prototypes.

- bin/pax: Move external declaration of chdname and s_mask into extern.h.
- bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h.
- sbin/mount_fusefs: Remove char *progname; use getprogname().
- others: add `static' where possible.


# 196827 04-Sep-2009 trasz

Add NFSv4 ACL support to getfacl(1).

Reviewed by: rwatson


# 172237 19-Sep-2007 kevlo

Use owner name and owning group name instead of uid and gid
for displaying the three-line comment header by default.

Reviewed by: kientzle
Approved by: re (bmah)


# 156681 13-Mar-2006 rwatson

Add "-q" argument to getfacl(1), which suppresses the per-file header
comment listing the file name, owner, and group.

MFC after: 1 week
Submitted by: Jan Srzednicki <w at expro dot pl>


# 141578 09-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


# 108450 30-Dec-2002 rwatson

Add "-h" arguments to getfacl and setfacl, which behave in a manner
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


# 106388 03-Nov-2002 tjr

- Consistent use of warn() vs. perror().
- Gracefully handle the case where standard input is missing
a newline at EOF.
- Exit with status 1 instead of -1 (really 255) on error.
- Add a Diagnostics section to the manual page documenting
exit status.

Approved by: rwatson


# 99109 30-Jun-2002 obrien

Consistently use __FBSDID


# 91083 22-Feb-2002 markm

Partially fix (well, work around) warnings inspired by lint, a
commercial lint and WARNS=4.


# 86458 16-Nov-2001 rwatson

o Update licenses, comments.

Obtained from: TrustedBSD Project


# 76875 20-May-2001 kris

Silence warnings on alpha. Unfortunately we can't add WARNS to this
because of that stupid mode_t warning bug.

MFC After: 1 week


# 75491 13-Apr-2001 jedgar

Convert getfacl to the ACL editing library functions. getfacl should
now compile/work on any POSIX.1e-compliant implementation (also tested
against the current Linux patches).

Review by: rwatson
Obtained from: TrustedBSD Project


# 75404 11-Apr-2001 jedgar

Correct the following defines to match the POSIX.1e spec:

ACL_PERM_EXEC -> ACL_EXECUTE
ACL_PERM_READ -> ACL_READ
ACL_PERM_WRITE -> ACL_WRITE

Obtained from: TrustedBSD


# 74465 19-Mar-2001 rwatson

o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLs
from files and directories, and setfacl sets ACLs on files and directories.

Submitted by: jedgar
Obtained from: TrustedBSD Project