| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is read-only data, so don't include it in the read/write page.
|
|
|
|
|
|
| |
On some platforms, libc does not provide gettext, and hence, more work
is necessary to get gettext to link. AM_GNU_GETTEXT covers for this
case and emits a $(LTLIBINTL) that we can use on those platforms.
|
|
|
|
|
|
| |
The Hurd is intended to have no hardcoded limits, and POSIX makes it
possible for a system to not define PATH_MAX. Switch to the simpler
solution which is to generate the constants at compile time.
|
|
|
|
| |
Typos found with codespell.
|
|
|
|
|
|
|
| |
Using 64bit versions on 32bit architectures should be enabled with
--enable-largefile, this makes it portable across musl and glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
--access has a different indent than the rest of the options.
Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
|
|
|
|
|
|
|
| |
Add a --one-filesystem option to getfacl. With this option, getfacl will not
cross mount points, similar to "tar --one-file-system".
(Patch modified by Andreas Gruenbacher.)
|
| |
|
|
|
|
|
|
|
|
| |
Valgrind complains that setfacl --restore triggers uninitialized memory
accesses to cmd->c_tag and cmd->c_perm of CMD_REMOVE_ACL commands in
do_set (http://savannah.nongnu.org/bugs/?50566). In this case, the
uninitialized memory accesses have no effect. Silence valgrind by
initializing cmd->c_tag and cmd->c_perm anyway.
|
|
|
|
|
|
|
|
|
| |
When the ACL to be set is equivalent to a file mode, on filesystems
without POSIX ACL support, setfacl falls back to chmod(1) for setting
the file mode to the equivalent of the ACL.
Unfortunately it did not preserve the set-user-ID, set-group-ID, and
sticky bits in that case; fix that.
|
|
|
|
| |
Allow setfacl commands like "setfacl -m u::rwx- file" to succeed.
|
|
|
|
|
|
|
|
|
| |
Move #include "config.h" from misc.h to every source file. It's incorrect
to include it after a system header file because it does things like:
Those must come before you include any system header file in order for
them to work properly. It hasn't bitten us so far, but we still should
fix the files to do the right thing.
|
|
|
|
|
|
| |
The return value of of acl_get_qualifier needs to be acl_freed.
Reported by Jaska Uimonen <jaska.uimonen@helsinki.fi>.
|
|
|
|
|
|
| |
Reported by Andreas Stieger <astieger@suse.com>
(https://bugzilla.suse.com/show_bug.cgi?id=929108): Fix a memory leak in
getfacl (allocated acl not being freed).
|
|
|
|
|
|
| |
When static linking libacl, people sometimes run into symbol collisions
because their own code defines symbols like "quote". So for acl internal
symbols, use an __acl_ prefix.
|
|
|
|
|
|
|
| |
Rather than use a fixed length buffer, use next_line. This let's us
handle any arbitrary length and avoid the non-portable PATH_MAX.
Fixes bug 27388 in the acl tracker.
|
|
|
|
|
|
| |
The word "line" is used to refer to the content of a line, and a few
places are already using "lineno". Change all to "lineno" so that we
can use "line" consistently.
|
|
This deletes the hand rolled build system and replaces it entirely
with autotools. The overall diffstat shows that this is a clear
win, and it makes the package build/install like every other autotool
package out there which makes the lives of distro maintainers a lot
easier.
This should also be faster by virtue of using a non-recursive build.
Things to note:
- to generate autotools:
./autogen.sh
- to see full compile output:
make V=1
- to build specific targets:
make attr getfattr ...
- to run tests:
make check
- to create a release:
make distcheck -j
Other non-developer things:
- man pages are no longer compressed as this is uncommon in the
autotools world and distros don't need it anyways (they already
handle it automatically for most pakages)
- the minor # of the shared library is now based on the package
version so it'll be much bigger ... this isn't a problem, and
is actually a bugfix (older releases didn't change when they
should have)
(Again, this is all using the standard autotool targets.)
|