summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update various URLsHEADmasterMike Frysinger2022-12-304-7/+7
|
* build: Fix cross-compilation on musl-based systemsGuillem Jover2022-12-101-1/+4
| | | | | | | | | | | | The gettext implementation in musl does not define some of the internal symbols that AM_GNU_GETTEXT used to check for. This got fixed in gettext 0.19.8, but the AM_GNU_GETTEXT_VERSION macro requires a specific version even if the system contains a higher one. We switch to use the new AM_GNU_GETTEXT_REQUIRE_VERSION macro which requires at least a specific version, and bump the AM_GNU_GETTEXT_VERSION to the first one that had support for the new macro. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* tools: mark long_options static & constMike Frysinger2022-12-102-2/+2
| | | | This is read-only data, so don't include it in the read/write page.
* po: Add Georgian translationTemuri Doghonadze2022-12-102-1/+342
| | | | Signed-off-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
* build: require automake 1.13+Mike Frysinger2022-11-191-1/+1
| | | | | | This version brings some improvements & fixes over 1.11, and was released around the same time as autoconf-2.69 that we already require.
* po: Update French translationJean-Philippe MENGUAL2022-11-191-100/+103
| | | | | | | | [guillem@hadrons.org: - Add missing Plural-Forms field. - Fix typo. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
* build: switch to AC_CONFIG_HEADERSMike Frysinger2022-11-161-1/+1
| | | | | The AC_CONFIG_HEADER macro was deprecated a while ago, and the new one behaves the same but without triggering a warning.
* Add $(LTLIBINTL) to libacl_LIBADD tools_ldaddArsen Arsenović2022-11-162-2/+4
| | | | | | 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.
* man: Document setfacl --restore=-Guillem Jover2022-11-121-2/+3
| | | | | | | This special argument was not previously documented, and it is not obvious from it might be supported. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* man: Add reference to mount(8) for the acl/noacl mount optionsGuillem Jover2022-11-121-0/+1
| | | | | | | The man page mentions mount(8) option, but has no reference to that man page, which makes it more difficult to know where to further look into. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* man: Clarify terms that otherwise make sentences ungrammaticalGuillem Jover2022-11-122-5/+7
| | | | | | | Either quote or mark terms as literal, so that both users and automated tools, such as spell checkers do not flag these as spelling errors. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* man: Fix typosGuillem Jover2022-11-123-3/+3
| | | | Signed-off-by: Guillem Jover <guillem@hadrons.org>
* Define ENODATA if it is not definedGuillem Jover2022-11-121-0/+3
| | | | | | | | On GNU/kFreeBSD ENODATA is not defined, so we need to define it instead to ENOATTR which is defined there. This is a regression from the upstream build system modernization. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* Remove PATH_MAX usage which does not exist on GNU/HurdGuillem Jover2022-11-123-16/+2
| | | | | | 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.
* Fix for incompatibility with autoconf2.13Wookey2022-11-121-0/+1
| | | | | | | | This package will not build if autconf2.13 is installed. Adding AC_PREREQ allows the automatic checks to run the correct version of autconf, whichever is installed, or to get a clear error message about the problem. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* doc: add INSTALL back to release tarballsMike Frysinger2022-11-121-1/+2
| | | | | | | This was accidentally dropped in the build refactor in commit c8f23c92177c5a82ab3699b1b0d4acbee9afb770 ("modernize build system"). Reported-by: Robert Davies <rob@robdavies.net>
* Fix typosSamanta Navarro2022-11-125-6/+6
| | | | Typos found with codespell.
* chacl: Use portable version of dirent and readdirKhem Raj2022-11-121-2/+2
| | | | | | | 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>
* use autoconf APIs to test & error outMike Frysinger2022-11-121-4/+2
| | | | Practically speaking, it should be the same.
* Polish translation updateJakub Bogusz2022-05-211-80/+81
|
* Version 2.3.1v2.3.1Andreas Gruenbacher2021-03-161-1/+1
|
* Fix libtool library versioning regressionAndreas Gruenbacher2021-03-161-1/+6
| | | | | | | | | | | | LT_REVISION was computed from PACKAGE_VERSION by stripping the dots from PACKAGE_VERSION. This caused LT_REVISION to change from 2253 down to 230 when the version changed from 2.2.53 to 2.3.0. This broke ldconfig versioning and caused the library symlinks to break after a package update. https://bugzilla.redhat.com/1938459#c9 Reported by: Kamil Dudka <kdudka@redhat.com>
* Version 2.3.0v2.3.0Andreas Gruenbacher2021-03-111-1/+1
|
* Update po files and German translationAndreas Gruenbacher2021-03-027-1085/+1095
| | | | | Add a convenience rule for updating the po files to the main Makefile. Use that for updating the po files. Update the German translation.
* getfacl: fix indent in --help outputValentin Vidic2021-03-027-7/+7
| | | | | | --access has a different indent than the rest of the options. Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
* getfacl: Add --one-file-system optionnextPavel Polacek2020-11-143-0/+17
| | | | | | | 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.)
* Move struct stat into struct walk_tree_argsAndreas Gruenbacher2020-11-141-14/+14
|
* Move list of open directories into struct walk_tree_argsAndreas Gruenbacher2020-11-141-30/+29
|
* Move walk_tree_rec arguments into a separate structAndreas Gruenbacher2020-11-141-32/+49
|
* acl_from_mode, acl_copy_int: Fix segfault on allocation failureTavian Barnes2020-09-032-3/+2
| | | | | | | | | __acl_free_acl_obj() is unprepared for NULL, so just return immediately instead of trying to free a NULL obj. Signed-off-by: Tavian Barnes <tavianator@tavianator.com> [Fix the same bug in acl_copy_int.] Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
* __acl_create_entry_obj: do not break strict aliasing rulesKamil Dudka2020-08-311-4/+5
| | | | | | ... to avoid SIGSEGV with link-time optimisation enabled Bug: https://bugzilla.redhat.com/1873975
* Fix typo in getfacl(1) man pageAnthony Sottile2020-08-251-1/+1
| | | | Signed-off-by: Anthony Sottile <asottile@umich.edu>
* Update my email addressAndreas Gruenbacher2020-02-0695-136/+136
|
* test: fix out of tree testsv2.2.53Mike Frysinger2018-06-181-1/+1
| | | | | The run script is in $srcdir, not $PWD (aka $builddir). This fixes `make distcheck`.
* include: fix uninstall for `make distcheck`Mike Frysinger2018-06-181-0/+2
|
* acl.5 man page: Update link to POSIX.1e draftAndreas Gruenbacher2018-03-121-1/+1
|
* test: add regression testDmitry V. Levin2018-01-211-0/+1
| | | | This is for the recent "Fix acl_from_text() returning NULL on all input".
* Enable large-file support on systems that do not enable it by defaultDmitry V. Levin2018-01-213-0/+9
| | | | | | | | | | | | | Invoke AC_SYS_LARGEFILE to enable large-file support. This fixes acl_get_fd and acl_get_file that invoke *stat functions, as well their users, perm_copy_fd and perm_copy_file. The tools are the most spectacularly affected because without the fix they just cannot process large files, e.g. $ truncate -s2G large-file && getfacl large-file getfacl: large-file: Value too large for defined data type
* libacl: Fix acl_from_text() returning NULL on all inputDmitry V. Levin2017-04-201-1/+1
| | | | | | | | | | | | | Commit 5dac69ce914202c587f00da638123403111ca673 introduced a regression: apparently, gcc treats #pragma GCC diagnostic pop as a kind of statement, so this causes parse_acl_entry() to return -1 unconditionally, and therefore causes acl_from_text() to return NULL unconditionally, too. Fix this by moving the pragma after the "if" statement. Reported-by: Valery Inozemtsev <shrek@altlinux.org>
* setfacl --restore: Silence valgrindAndreas Gruenbacher2017-03-171-1/+8
| | | | | | | | 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.
* setfacl: Preserve special mode bits on filesystems without POSIX ACL supportAndreas Gruenbacher2016-08-232-2/+10
| | | | | | | | | 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.
* setfacl.1: document the meaning of '-' in permsKamil Dudka2016-05-191-7/+21
| | | | [agruen: Description further clarified.]
* setfacl: Allow more than four characters in the perms fieldAndreas Gruenbacher2016-05-191-3/+1
| | | | Allow setfacl commands like "setfacl -m u::rwx- file" to succeed.
* permissions.test: Fix umaskAndreas Gruenbacher2016-05-181-0/+1
| | | | | | | | The root/permissions test can fail if run by a root user with umask 077, because the "d" temporary directory ends up unreadable/unexecutable by bin or daemon. Reported anonymously on Savannah: http://savannah.nongnu.org/bugs/?47949
* Add additional group names for root-specific testsAndreas Gruenbacher2016-03-072-2/+2
| | | | | | The root-specific tests use two additional groups. Add them to test/test.group and don't create / delete the non-standard group with groupadd / groupdel.
* libtestlookup: Add missing EXPORT and static declarationsAndreas Gruenbacher2016-03-072-14/+22
|
* Minor man-page clarificationsAndreas Gruenbacher2016-03-073-0/+3
|
* Remove ACL_ADD and ACL_DELETEAndreas Gruenbacher2016-03-071-2/+0
| | | | | These permissions will never be added to POSIX ACLs; remove the (already commented out) definitions.
* test: fixups on SELinux machines for root testcasesHe Zhe2016-03-023-6/+6
| | | | | | | ls adds a '.' at the end of the permission field list on SELinux machines, filter this out so root tests work on SELinux machines. Signed-off-by: He Zhe <zhe.he@windriver.com>
* libacl: Ignore warning in parse_acl_entry()Andreas Gruenbacher2016-03-021-0/+3
| | | | | | | | | | | In this function, we call int2ext() on a temporary object on the stack. When int2ext() checks for a NULL pointer, gcc's -Waddress warning points out that the address of the temporary object can never be NULL, which is correct but not helpful: warning: the address of 'entry_obj' will always evaluate as 'true' [-Waddress] Suppress this warning.