No description
Find a file
Paul Eggert 4d4a562d7b Fix lgetxattr-related races
This fixes some races related to fgetxattr and
lgetxattr, that were similar to the recently
fixed listxattr-related races.
* libattr/attr_copy_fd.c (attr_copy_fd):
* libattr/attr_copy_file.c (attr_copy_file):
Fix race if an attribute changes between getting
its value's size and getting the actual value.
Do not bother to query the attribute value size,
to avoid an unnecessary syscall in the usual case.
Just call malloc+free, not realloc, as there is
no need to preserve the old data.
2025-06-07 00:27:21 +02:00
doc doc/CHANGES: fix a typo 2024-07-09 16:03:01 +02:00
examples examples: Check "user." as a prefix not as the entire string 2022-11-12 21:33:59 +07:00
include getfattr: Add --one-file-system option 2021-03-11 19:19:38 +01:00
libattr Fix lgetxattr-related races 2025-06-07 00:27:21 +02:00
libmisc getfattr: Add --one-file-system option 2021-03-11 19:19:38 +01:00
m4 Cleanup visibility of API functions 2016-03-02 17:20:04 +01:00
man man: Use apostrophe instead of acute accent 2022-12-10 15:16:18 +05:45
po po: make sure POTFILES.in is sorted 2024-01-13 21:13:32 -05:00
test tests: disable translations 2023-12-01 07:10:20 -05:00
tools tools/attr.c: Add missing libgen.h include for basename(3) 2024-07-09 16:05:53 +02:00
.gitignore Ignore examples/copyattr 2022-11-12 21:32:41 +07:00
autogen.sh doc: include standard INSTALL file for new build system 2024-01-13 21:03:41 -05:00
configure.ac Fix listxattr-related races and stack overflows 2025-06-04 13:26:14 +02:00
exports exports: use LGPL for library code 2024-01-13 20:25:50 -05:00
libattr.pc.in Add License variable to pkg-config file 2025-05-12 08:35:15 +02:00
Makefile.am Update po files and German translation 2021-03-11 19:32:23 +01:00
README doc: drop obsolete PORTING guide 2024-01-13 21:08:38 -05:00
xattr.conf xattr.conf: Indicate afs metadata xattrs should be skipped when copying 2020-11-03 16:59:07 +01:00

Extended attribute package README
_________________________________

Package home: https://savannah.nongnu.org/projects/attr

See the file doc/INSTALL for build, installation and post-
install configuration steps.

Refer to the xattr(7) manual page for general extended attribute
(EA) information and references to other EA manual pages.