Debian Patches

Status for attr/1:2.4.48-6

Patch Description Author Forwarded Bugs Origin Last update
0001-test-escape-left-brace-in-a-regex-in-test-run.patch [PATCH 1/9] test: escape left brace in a regex in test/run
... to fix test-suite failure with perl-5.26.0
Troy Dawson <tdawson@redhat.com> yes upstream 2017-07-24
0002-man-fix-bold-style-in-SEE-ALSO-section.patch [PATCH 2/9] man: fix bold style in SEE ALSO section
See STYLE GUIDE in man-pages(7) for more details.
Mike Frysinger <vapier@gentoo.org> no 2018-01-21
0003-man-standardize-AUTHORS-section.patch [PATCH 3/9] man: standardize AUTHORS section
Point people to the Savannah project now.
Mike Frysinger <vapier@gentoo.org> no 2018-01-21
0004-Enable-large-file-support-on-systems-that-do-not-ena.patch [PATCH 4/9] Enable large-file support on systems that do not enable it by default

Invoke AC_SYS_LARGEFILE to enable large-file support.

This fix doesn't change the library as much as the tools because
the only affected function in libattr is attr_copy_action that calls
attr_parse_attr_conf that in turn calls fopen(ATTR_CONF, "r").

What is the most affected is getfattr, without the fix it just cannot
process large files, e.g.

$ truncate -s2G large-file && getfattr large-file
"Dmitry V. Levin" <ldv@altlinux.org> no 2017-11-28
0005-getfattr.1-by-default-only-user-namespace-attributes.patch [PATCH 5/9] getfattr.1: by default only user namespace attributes are dumped Simon Ruderich <simon@ruderich.org> no 2017-07-08
0006-attr_list.3-Fix-the-attributes.h-include-path.patch [PATCH 6/9] attr_list.3: Fix the attributes.h include path
The header file is located at <attr/attributes.h>. Make the attr_list.3
man page consistent with the other man pages.
Andreas Gruenbacher <agruenba@redhat.com> no 2018-07-03
0007-Switch-back-to-syscall.patch [PATCH 7/9] Switch back to syscall()
Switch back to syscall() for the *xattr system calls. The current
mechanism of forwarding those calls to glibc breaks libraries like
libfakeroot (fakeroot) and libasan (the gcc address sanitizer; gcc
-fsanitize=address).

Those libraries provide wrappers for functions defined in other shared
libraries, usually glibc, do their own processing, and forward calls to
the original symbols looke dup via dlsym(RTLD_NEXT, "symbol_name"). In
our case, dlsym returns the libattr_*xattr wrappers. However, when our
wrappers try calling glibc, they end up calling the libfakeroot /
libasan wrappers instead because those override the original symbols =>
recursion.

The libattr_*xattr wrappers will only be used when symbols are looked up
at runtime (dlopen / dlsym). Programs linking against libattr will
directly use the glibc provided symbols. Therefore, the slightly worse
performance of syscall() won't affect any of the "normal" users of
libattr.
Andreas Gruenbacher <agruenba@redhat.com> no 2018-08-17
0008-attr_multi-attr_multif-Don-t-set-errno-to-EINVAL.patch [PATCH 8/9] attr_multi, attr_multif: Don't set errno to -EINVAL
When attr_multi or attr_multif are called with an invalid am_opcode,
they fail with errno set to -EINVAL. Instead, the errno value should be
positive.
Andreas Gruenbacher <agruenba@redhat.com> no 2018-12-17
0009-attr_list-attr_listf-Guard-against-unterminated-buff.patch [PATCH 9/9] attr_list, attr_listf: Guard against unterminated buffer
attr_list and attr_listf can crash when the listxattr, llistxattr, or
flistxattr syscalls incorrectly return an unterminated buffer. Guard
against that by always appending a null character.
Andreas Gruenbacher <agruenba@redhat.com> no 2018-12-17
build-require-autoconf-version.patch Fix for incompatibility with autoconf2.13 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.
Wookey <wookey@linaro.org> invalid debian
syscalls-linux.patch Only include the compat syscall stubs on Linux systems These are Linux specific syscalls. Other systems either already have
these function on their libc, or would need different implementations.
This restores the previous behavior before the build system modernization.
Guillem Jover <guillem@debian.org> invalid
compat-xattr-header.patch Reintroduce removed xattr.h header for backwards compatibility. There are too many packages still using this header, we cannot just remove
it w/o breaking tons of stuff. Let's create a proper transition.
.
We will later introduce a warning so that programs transition to the header
provided by glibc.
Guillem Jover <guillem@debian.org> no
l10n-update-nl.patch Update Dutch translation Frans Spiesschaert <Frans.Spiesschaert@yucom.be> invalid
l10n-update-fr.patch Update French translation Jean-Pierre Giraud <jenapierregiraud75@free.fr> no
man-pages-typo-fixes.patch Fix various typos Guillem Jover <guillem@debian.org> invalid
man-attr-no-xfs-specific.patch Make the attr(1) man page non-XFS specific. Guillem Jover <guillem@debian.org> no
man-fix-macros.patch Fix man pages to remove mdoc-specific macros Guillem Jover <guillem@debian.org> no
gettext-musl.patch Fix cross-compilation on musl-based systems. 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.
Guillem Jover <guillem@debian.org> no

All known versions for source package 'attr'

Links