| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This makes the `make install DESTDIR=...` form work. It keeps support
for all previous forms too (like DIST_ROOT).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
When doing a static build the .lai file is not created, so do not try
to install it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
| |
Keep build/ directory for out-of-source builds.
|
|
|
|
| |
umask 022 is expected on some of the tests. Set it.
|
|
|
|
|
| |
ls adds a '.' at the end of the permission field list on SELinux
machines, filter this out so tests work on SELinux machines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If /bin/sh is not a functional enough shell, configure will select a
SHELL of /bin/bash or better. But the current build helpers always
hardcode /bin/sh, so if libtool itself configures itself for /bin/bash,
things will fail when it attempts to do:
SHELL = /bin/sh
LIBTOOL = $(SHELL) .../libtool
...
eval: 1: base_compile+= -pipe: not found
...
So rather than hardcoding SHELL to /bin/sh, set it to @SHELL@ and let
configure find a good value for us.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
| |
Newer autotools warn when using "configure.in" as that is the old name,
and there are plans to make this fatal in the future. So rename it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Brandon Philips <brandon@ifup.org>
|
|
|
|
|
|
|
| |
Keep libmisc/walk_tree.c in sync with the version in the attr package;
no change in functionality for getfacl or setfacl.
Remove a related dead line of code from setfacl.
|
| |
|
|
|
|
| |
test/ isn't necessary as this is in test/Makefile
|
|
|
|
|
| |
f might exist before this test is ran. remove it first so the test
always starts from the same state.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Assign the new libacl version ACL_1.2 to acl_extended_file_nofollow
so that package managers will end up with the appropriate
dependencies.
* Add a manpage entry for acl_extended_file_nofollow which sources
("links to") the acl_extended_file manpage.
* Remove the prototype for getxattr/lgetxattr.
* Whitespace cleanups.
|
|
|
|
|
|
|
| |
This function calls lgetxattr() instead of getxattr(), which helps ls(1)
to prevent unnecessary automatic mounts, which acl_extended_file()
triggers. See the following bug report for more details:
https://bugzilla.redhat.com/692982
|
| |
|
| |
|
| |
|
|
|
|
|
| |
originally reported at:
https://bugzilla.redhat.com/576550
|
|
|
|
|
|
| |
Fixes http://savannah.nongnu.org/bugs/?28131
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
|
|
| |
Use AC_PATH_PROG unconditionally and append the search PATH instead of
forcing lookup in a few dirs. This way we can find the binaries on more
systems where things don't live in the expected locations.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Brandon Philips <brandon@ifup.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stanse found that acl_copy_int() derefences ext_acl when initializing
ent_p and then later checks if ext_acl is NULL.
Delay initializing ent_p and size until the NULL check has been made on
ext_acl.
Fix this bug:
https://bugzilla.novell.com/show_bug.cgi?id=564733
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Malformed input to setfacl --restore can cause a crash due to a double
free.
Ensure that freed memory is set to NULL.
Fixes this bug:
https://savannah.nongnu.org/bugs/index.php?28185
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
|
|
|
| |
restore()'s fail path expects errno to contain the error but that is not
the case with read_acl_comments().
Fix up the error path in restore() and have read_acl_comments() return
EINVAL which makes more sense in this case.
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a problem in setfacl --restore when the owner or group is changed
and the S_ISUID and S_ISGID are to be set.
The root of the problem is that chown() can clear the S_ISUID and
S_ISGID bits as described in chown(2):
When the owner or group of an executable file are changed by a
non- superuser, the S_ISUID and S_ISGID mode bits are cleared. POSIX
does not specify whether this also should happen when root does the
chown(); the Linux behavior depends on the kernel version. In case of
a non- group-executable file (i.e., one for which the S_IXGRP bit is
not set) the S_ISGID bit indicates mandatory locking, and is not
cleared by a chown().
To fix the issue re-stat() the file after chown() so that the logic
surrounding the chmod() has the updated mode of the file.
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
| |
2.2.49 release
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
|
| |
- Document changes for 2.2.48
- Remove entries for versions that were never publicly released by SGI
- Cleanup file format
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
| |
tests/sort-getfacl-output and examples/copyperm.c were missing from respective
Makefiles
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
| |
Preparing for 2.2.48 release.
|
|
|
|
|
|
|
|
|
| |
On some platforms libtool prefixes the in-tree binaries under .libs with
"lt-". This causes the tests to break. This patch removes the lt-
prefix from program error output.
A discussion on the issue is here:
http://lists.gnu.org/archive/html/libtool/2009-05/msg00042.html
|
| |
|
| |
|
| |
|
|
|
|
| |
restore them with "setfacl --restore=file".
|
|
|
|
|
| |
This fixes http://oss.sgi.com/bugzilla/show_bug.cgi?id=790
"getfacl follows symlinks, even without -L".
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This flag indicates to dereference top-level symlinks. (If non
top-level symlinks should be stat()ed as well, the
WALK_TREE_DEREFERENCE flag must be specified.)
|
| |
| |
| |
| |
| |
| | |
What is printable or not depends on the locale settings, and getfacl
often gets it wrong. We still need to quote a few special characters
like newlines so that setfacl can always parse getfacl's output.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
equivalent.
|
|
|
|
|
|
|
|
| |
When restoring acls and the file ownership from the output of getfacl
with setfacl --restore, make sure to only chown(2) files when the
owner or owning group does not match the current owner or owning group:
otherwise, if the caller does not have the appropriate privilege,
chown(2) will implicitly clear the suid and sgit flags.
|
|
|
|
|
| |
Add license headers to a number of small files which were only licenses as
GPLv2+ implicitly so far.
|
|
|
|
|
| |
Refer to GPLv2+ specifically instead of only referring to GPL without version.
(Acked by Felix Blyakher <felixb@sgi.com> on behalf of SGI on 8 April 2009.)
|