1 |
commit: e76267f67bb16203ff96c2d2011fd958154e46ce |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 6 15:41:44 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 6 15:41:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76267f6 |
7 |
|
8 |
sys-apps/attr: drop 2.4.48-r4, 2.4.48-r5, 2.5.0 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
sys-apps/attr/Manifest | 2 - |
13 |
sys-apps/attr/attr-2.4.48-r4.ebuild | 92 --------------- |
14 |
sys-apps/attr/attr-2.4.48-r5.ebuild | 103 ----------------- |
15 |
sys-apps/attr/attr-2.5.0.ebuild | 98 ---------------- |
16 |
sys-apps/attr/files/attr-2.4.48-perl-5.26.patch | 27 ----- |
17 |
.../files/attr-2.4.48-switch-back-to-syscall.patch | 123 --------------------- |
18 |
6 files changed, 445 deletions(-) |
19 |
|
20 |
diff --git a/sys-apps/attr/Manifest b/sys-apps/attr/Manifest |
21 |
index c3a9128a6da..225b7624ecb 100644 |
22 |
--- a/sys-apps/attr/Manifest |
23 |
+++ b/sys-apps/attr/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST attr-2.4.48.tar.gz 467840 BLAKE2B 8fa6a5013b927850868b6913d026f23f116b75da3925d5da5eea007e14f5d9e309f98290b7ffaa6c62f620ff8f3ec7bfb3a1fcb04f3c0c072fca5feacaf804c0 SHA512 75f870a0e6e19b8975f3fdceee786fbaff3eadaa9ab9af01996ffa8e50fe5b2bba6e4c22c44a6722d11b55feb9e89895d0151d6811c1d2b475ef4ed145f0c923 |
26 |
-DIST attr-2.5.0.tar.gz 465575 BLAKE2B b50c6b741543140099e7f31fcc327d4547cda41f1b14159664096b571c5c14ed7279992e94fdd9bc23d5618715a7d4fe8d45ba8d5cc2941ac6a4d242bc80ee09 SHA512 900e66d13acd022f52986d4159925b23e60f9ef5d11983b16d9dfe4a98fd70eea5f78e18f3694d8adea1c422324772af4da6b5659d755ed37484b428e28bb5fc |
27 |
DIST attr-2.5.1.tar.gz 465714 BLAKE2B 05928f8274b0b4beee31b329c8459436c5b9019ebd2f937667b7beb8df7a455c48742a90d9c4faca5c0b38c9c3812043d3d66f9587108d3424c6184fef494b56 SHA512 8b4c043d61f8f3e0cd098e701181069f51117b85fd6ba18bfe9af77d894ea671232377d4793ffc822e9259ceee6ac71d75732eb93b2830c6cb5d0d918ba2d21b |
28 |
|
29 |
diff --git a/sys-apps/attr/attr-2.4.48-r4.ebuild b/sys-apps/attr/attr-2.4.48-r4.ebuild |
30 |
deleted file mode 100644 |
31 |
index 02c33f7c1f4..00000000000 |
32 |
--- a/sys-apps/attr/attr-2.4.48-r4.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,92 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript |
41 |
- |
42 |
-DESCRIPTION="Extended attributes tools" |
43 |
-HOMEPAGE="https://savannah.nongnu.org/projects/attr" |
44 |
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-2.1" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
49 |
-IUSE="debug nls static-libs" |
50 |
- |
51 |
-BDEPEND="nls? ( sys-devel/gettext )" |
52 |
- |
53 |
-PATCHES=( |
54 |
- "${FILESDIR}/${P}-perl-5.26.patch" |
55 |
- "${FILESDIR}/${P}-switch-back-to-syscall.patch" |
56 |
-) |
57 |
- |
58 |
-pkg_setup() { |
59 |
- # Remove -flto* from flags as this breaks binaries (bug #644048) |
60 |
- filter-flags -flto* |
61 |
- append-ldflags "-Wl,--no-gc-sections" #700116 |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- default |
66 |
- elibtoolize #580792 |
67 |
-} |
68 |
- |
69 |
-multilib_src_configure() { |
70 |
- unset PLATFORM #184564 |
71 |
- export OPTIMIZER=${CFLAGS} |
72 |
- export DEBUG=-DNDEBUG |
73 |
- |
74 |
- tc-ld-disable-gold #644048 |
75 |
- |
76 |
- local myeconfargs=( |
77 |
- --bindir="${EPREFIX}"/bin |
78 |
- --enable-shared |
79 |
- $(use_enable static-libs static) |
80 |
- $(use_enable nls) |
81 |
- --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
82 |
- $(use_enable debug) |
83 |
- ) |
84 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
85 |
-} |
86 |
- |
87 |
-multilib_src_install() { |
88 |
- emake DESTDIR="${D}" install |
89 |
- |
90 |
- # Sanity check until we track down why this is happening. #644048 |
91 |
- local lib="${ED}/usr/$(get_libdir)/libattr.so.1" |
92 |
- if [[ -e ${lib} ]] ; then |
93 |
- local versions=$($(tc-getREADELF) -V "${lib}") |
94 |
- local symbols=$($(tc-getREADELF) -sW "${lib}") |
95 |
- if [[ "${versions}" != *"ATTR_1.0"* || \ |
96 |
- "${versions}" != *"ATTR_1.1"* || \ |
97 |
- "${versions}" != *"ATTR_1.2"* || \ |
98 |
- "${versions}" != *"ATTR_1.3"* || \ |
99 |
- "${symbols}" != *"getxattr@ATTR_1.0"* ]] ; then |
100 |
- echo "# readelf -V ${lib}" |
101 |
- echo "${versions}" |
102 |
- echo "# readelf -sW ${lib}" |
103 |
- echo "${symbols}" |
104 |
- die "symbol version sanity check failed; please comment on https://bugs.gentoo.org/644048" |
105 |
- else |
106 |
- einfo "${lib} passed symbol checks" |
107 |
- fi |
108 |
- fi |
109 |
- |
110 |
- if multilib_is_native_abi; then |
111 |
- # we install attr into /bin, so we need the shared lib with it |
112 |
- gen_usr_ldscript -a attr |
113 |
- fi |
114 |
- |
115 |
- # Add a wrapper until people upgrade. |
116 |
- insinto /usr/include/attr |
117 |
- newins "${FILESDIR}"/xattr-shim.h xattr.h |
118 |
-} |
119 |
- |
120 |
-multilib_src_install_all() { |
121 |
- if ! use static-libs; then |
122 |
- find "${ED}" -name '*.la' -delete || die |
123 |
- fi |
124 |
- |
125 |
- einstalldocs |
126 |
-} |
127 |
|
128 |
diff --git a/sys-apps/attr/attr-2.4.48-r5.ebuild b/sys-apps/attr/attr-2.4.48-r5.ebuild |
129 |
deleted file mode 100644 |
130 |
index 2de4d818916..00000000000 |
131 |
--- a/sys-apps/attr/attr-2.4.48-r5.ebuild |
132 |
+++ /dev/null |
133 |
@@ -1,103 +0,0 @@ |
134 |
-# Copyright 1999-2020 Gentoo Authors |
135 |
-# Distributed under the terms of the GNU General Public License v2 |
136 |
- |
137 |
-EAPI="7" |
138 |
- |
139 |
-inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript |
140 |
- |
141 |
-if [[ ${PV} == 9999 ]] ; then |
142 |
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" |
143 |
- |
144 |
- inherit autotools git-r3 |
145 |
-else |
146 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
147 |
- SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" |
148 |
-fi |
149 |
- |
150 |
-DESCRIPTION="Extended attributes tools" |
151 |
-HOMEPAGE="https://savannah.nongnu.org/projects/attr" |
152 |
-LICENSE="LGPL-2.1" |
153 |
-SLOT="0" |
154 |
- |
155 |
-IUSE="debug nls static-libs" |
156 |
- |
157 |
-BDEPEND="nls? ( sys-devel/gettext )" |
158 |
- |
159 |
-src_prepare() { |
160 |
- local PATCHES=( |
161 |
- "${FILESDIR}/${P}-perl-5.26.patch" |
162 |
- "${FILESDIR}/${P}-switch-back-to-syscall.patch" |
163 |
- ) |
164 |
- |
165 |
- default |
166 |
- |
167 |
- if [[ ${PV} == 9999 ]] ; then |
168 |
- po/update-potfiles || die |
169 |
- eautopoint |
170 |
- eautoreconf |
171 |
- else |
172 |
- elibtoolize #580792 |
173 |
- fi |
174 |
-} |
175 |
- |
176 |
-src_configure() { |
177 |
- # Remove -flto* from flags as this breaks binaries (bug #644048) |
178 |
- filter-flags -flto* |
179 |
- append-ldflags "-Wl,--no-gc-sections" #700116 |
180 |
- tc-ld-disable-gold #644048 |
181 |
- append-lfs-flags #760857 |
182 |
- multilib-minimal_src_configure |
183 |
-} |
184 |
- |
185 |
-multilib_src_configure() { |
186 |
- local myeconfargs=( |
187 |
- --bindir="${EPREFIX}"/bin |
188 |
- --enable-shared |
189 |
- $(use_enable static-libs static) |
190 |
- $(use_enable nls) |
191 |
- --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
192 |
- $(use_enable debug) |
193 |
- ) |
194 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
195 |
-} |
196 |
- |
197 |
-multilib_src_install() { |
198 |
- emake DESTDIR="${D}" install |
199 |
- |
200 |
- # Sanity check until we track down why this is happening. #644048 |
201 |
- local lib="${ED}/usr/$(get_libdir)/libattr.so.1" |
202 |
- if [[ -e ${lib} ]] ; then |
203 |
- local versions=$($(tc-getREADELF) -V "${lib}") |
204 |
- local symbols=$($(tc-getREADELF) -sW "${lib}") |
205 |
- if [[ "${versions}" != *"ATTR_1.0"* || \ |
206 |
- "${versions}" != *"ATTR_1.1"* || \ |
207 |
- "${versions}" != *"ATTR_1.2"* || \ |
208 |
- "${versions}" != *"ATTR_1.3"* || \ |
209 |
- "${symbols}" != *"getxattr@ATTR_1.0"* ]] ; then |
210 |
- echo "# readelf -V ${lib}" |
211 |
- echo "${versions}" |
212 |
- echo "# readelf -sW ${lib}" |
213 |
- echo "${symbols}" |
214 |
- die "symbol version sanity check failed; please comment on https://bugs.gentoo.org/644048" |
215 |
- else |
216 |
- einfo "${lib} passed symbol checks" |
217 |
- fi |
218 |
- fi |
219 |
- |
220 |
- if multilib_is_native_abi; then |
221 |
- # we install attr into /bin, so we need the shared lib with it |
222 |
- gen_usr_ldscript -a attr |
223 |
- fi |
224 |
- |
225 |
- # Add a wrapper until people upgrade. |
226 |
- insinto /usr/include/attr |
227 |
- newins "${FILESDIR}"/xattr-shim.h xattr.h |
228 |
-} |
229 |
- |
230 |
-multilib_src_install_all() { |
231 |
- if ! use static-libs; then |
232 |
- find "${ED}" -name '*.la' -delete || die |
233 |
- fi |
234 |
- |
235 |
- einstalldocs |
236 |
-} |
237 |
|
238 |
diff --git a/sys-apps/attr/attr-2.5.0.ebuild b/sys-apps/attr/attr-2.5.0.ebuild |
239 |
deleted file mode 100644 |
240 |
index 7465baca96b..00000000000 |
241 |
--- a/sys-apps/attr/attr-2.5.0.ebuild |
242 |
+++ /dev/null |
243 |
@@ -1,98 +0,0 @@ |
244 |
-# Copyright 1999-2021 Gentoo Authors |
245 |
-# Distributed under the terms of the GNU General Public License v2 |
246 |
- |
247 |
-EAPI="7" |
248 |
- |
249 |
-inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript |
250 |
- |
251 |
-if [[ ${PV} == 9999 ]] ; then |
252 |
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" |
253 |
- |
254 |
- inherit autotools git-r3 |
255 |
-else |
256 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
257 |
- SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" |
258 |
-fi |
259 |
- |
260 |
-DESCRIPTION="Extended attributes tools" |
261 |
-HOMEPAGE="https://savannah.nongnu.org/projects/attr" |
262 |
-LICENSE="LGPL-2.1" |
263 |
-SLOT="0" |
264 |
- |
265 |
-IUSE="debug nls static-libs" |
266 |
- |
267 |
-BDEPEND="nls? ( sys-devel/gettext )" |
268 |
- |
269 |
-src_prepare() { |
270 |
- default |
271 |
- |
272 |
- if [[ ${PV} == 9999 ]] ; then |
273 |
- po/update-potfiles || die |
274 |
- eautopoint |
275 |
- eautoreconf |
276 |
- else |
277 |
- elibtoolize #580792 |
278 |
- fi |
279 |
-} |
280 |
- |
281 |
-src_configure() { |
282 |
- # Remove -flto* from flags as this breaks binaries (bug #644048) |
283 |
- filter-flags -flto* |
284 |
- append-ldflags "-Wl,--no-gc-sections" #700116 |
285 |
- tc-ld-disable-gold #644048 |
286 |
- append-lfs-flags #760857 |
287 |
- multilib-minimal_src_configure |
288 |
-} |
289 |
- |
290 |
-multilib_src_configure() { |
291 |
- local myeconfargs=( |
292 |
- --bindir="${EPREFIX}"/bin |
293 |
- --enable-shared |
294 |
- $(use_enable static-libs static) |
295 |
- $(use_enable nls) |
296 |
- --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
297 |
- $(use_enable debug) |
298 |
- ) |
299 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
300 |
-} |
301 |
- |
302 |
-multilib_src_install() { |
303 |
- emake DESTDIR="${D}" install |
304 |
- |
305 |
- # Sanity check until we track down why this is happening. #644048 |
306 |
- local lib="${ED}/usr/$(get_libdir)/libattr.so.1" |
307 |
- if [[ -e ${lib} ]] ; then |
308 |
- local versions=$($(tc-getREADELF) -V "${lib}") |
309 |
- local symbols=$($(tc-getREADELF) -sW "${lib}") |
310 |
- if [[ "${versions}" != *"ATTR_1.0"* || \ |
311 |
- "${versions}" != *"ATTR_1.1"* || \ |
312 |
- "${versions}" != *"ATTR_1.2"* || \ |
313 |
- "${versions}" != *"ATTR_1.3"* || \ |
314 |
- "${symbols}" != *"getxattr@ATTR_1.0"* ]] ; then |
315 |
- echo "# readelf -V ${lib}" |
316 |
- echo "${versions}" |
317 |
- echo "# readelf -sW ${lib}" |
318 |
- echo "${symbols}" |
319 |
- die "symbol version sanity check failed; please comment on https://bugs.gentoo.org/644048" |
320 |
- else |
321 |
- einfo "${lib} passed symbol checks" |
322 |
- fi |
323 |
- fi |
324 |
- |
325 |
- if multilib_is_native_abi; then |
326 |
- # we install attr into /bin, so we need the shared lib with it |
327 |
- gen_usr_ldscript -a attr |
328 |
- fi |
329 |
- |
330 |
- # Add a wrapper until people upgrade. |
331 |
- insinto /usr/include/attr |
332 |
- newins "${FILESDIR}"/xattr-shim.h xattr.h |
333 |
-} |
334 |
- |
335 |
-multilib_src_install_all() { |
336 |
- if ! use static-libs; then |
337 |
- find "${ED}" -name '*.la' -delete || die |
338 |
- fi |
339 |
- |
340 |
- einstalldocs |
341 |
-} |
342 |
|
343 |
diff --git a/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch b/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch |
344 |
deleted file mode 100644 |
345 |
index 49b4c1a5766..00000000000 |
346 |
--- a/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch |
347 |
+++ /dev/null |
348 |
@@ -1,27 +0,0 @@ |
349 |
-From 406eab7aa09da9df787a964d3c152c0bda6e23c4 Mon Sep 17 00:00:00 2001 |
350 |
-From: Troy Dawson <tdawson@××××××.com> |
351 |
-Date: Mon, 24 Jul 2017 14:42:06 +0200 |
352 |
-Subject: [PATCH attr] test: escape left brace in a regex in test/run |
353 |
- |
354 |
-... to fix test-suite failure with perl-5.26.0 |
355 |
- |
356 |
-Bug: https://bugzilla.redhat.com/1473853 |
357 |
---- |
358 |
- test/run | 2 +- |
359 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
360 |
- |
361 |
-diff --git a/test/run b/test/run |
362 |
-index 4b1f8d0d6134..07e916c41947 100755 |
363 |
---- a/test/run |
364 |
-+++ b/test/run |
365 |
-@@ -106,7 +106,7 @@ for (;;) { |
366 |
- if (defined $line) { |
367 |
- # Substitute %VAR and %{VAR} with environment variables. |
368 |
- $line =~ s[%(\w+)][$ENV{$1}]eg; |
369 |
-- $line =~ s[%{(\w+)}][$ENV{$1}]eg; |
370 |
-+ $line =~ s[%\{(\w+)}][$ENV{$1}]eg; |
371 |
- } |
372 |
- if (defined $line) { |
373 |
- if ($line =~ s/^\s*< ?//) { |
374 |
--- |
375 |
-2.16.1 |
376 |
|
377 |
diff --git a/sys-apps/attr/files/attr-2.4.48-switch-back-to-syscall.patch b/sys-apps/attr/files/attr-2.4.48-switch-back-to-syscall.patch |
378 |
deleted file mode 100644 |
379 |
index 5691b15420c..00000000000 |
380 |
--- a/sys-apps/attr/files/attr-2.4.48-switch-back-to-syscall.patch |
381 |
+++ /dev/null |
382 |
@@ -1,123 +0,0 @@ |
383 |
-From 14adc898a36948267bfe5c63b399996879e94c98 Mon Sep 17 00:00:00 2001 |
384 |
-From: Andreas Gruenbacher <agruenba@××××××.com> |
385 |
-Date: Fri, 17 Aug 2018 14:07:31 +0200 |
386 |
-Subject: Switch back to syscall() |
387 |
- |
388 |
-Switch back to syscall() for the *xattr system calls. The current |
389 |
-mechanism of forwarding those calls to glibc breaks libraries like |
390 |
-libfakeroot (fakeroot) and libasan (the gcc address sanitizer; gcc |
391 |
--fsanitize=address). |
392 |
- |
393 |
-Those libraries provide wrappers for functions defined in other shared |
394 |
-libraries, usually glibc, do their own processing, and forward calls to |
395 |
-the original symbols looke dup via dlsym(RTLD_NEXT, "symbol_name"). In |
396 |
-our case, dlsym returns the libattr_*xattr wrappers. However, when our |
397 |
-wrappers try calling glibc, they end up calling the libfakeroot / |
398 |
-libasan wrappers instead because those override the original symbols => |
399 |
-recursion. |
400 |
- |
401 |
-The libattr_*xattr wrappers will only be used when symbols are looked up |
402 |
-at runtime (dlopen / dlsym). Programs linking against libattr will |
403 |
-directly use the glibc provided symbols. Therefore, the slightly worse |
404 |
-performance of syscall() won't affect any of the "normal" users of |
405 |
-libattr. |
406 |
---- |
407 |
- libattr/syscalls.c | 26 ++++++++++++++------------ |
408 |
- 1 file changed, 14 insertions(+), 12 deletions(-) |
409 |
- |
410 |
-diff --git a/libattr/syscalls.c b/libattr/syscalls.c |
411 |
-index 3013aa0..721ad7f 100644 |
412 |
---- a/libattr/syscalls.c |
413 |
-+++ b/libattr/syscalls.c |
414 |
-@@ -22,6 +22,8 @@ |
415 |
- |
416 |
- #include "config.h" |
417 |
- |
418 |
-+#include <unistd.h> |
419 |
-+#include <sys/syscall.h> |
420 |
- #include <sys/xattr.h> |
421 |
- |
422 |
- #ifdef HAVE_VISIBILITY_ATTRIBUTE |
423 |
-@@ -31,67 +33,67 @@ |
424 |
- int libattr_setxattr(const char *path, const char *name, |
425 |
- void *value, size_t size, int flags) |
426 |
- { |
427 |
-- return setxattr(path, name, value, size, flags); |
428 |
-+ return syscall(__NR_setxattr, path, name, value, size, flags); |
429 |
- } |
430 |
- |
431 |
- int libattr_lsetxattr(const char *path, const char *name, |
432 |
- void *value, size_t size, int flags) |
433 |
- { |
434 |
-- return lsetxattr(path, name, value, size, flags); |
435 |
-+ return syscall(__NR_lsetxattr, path, name, value, size, flags); |
436 |
- } |
437 |
- |
438 |
- int libattr_fsetxattr(int filedes, const char *name, |
439 |
- void *value, size_t size, int flags) |
440 |
- { |
441 |
-- return fsetxattr(filedes, name, value, size, flags); |
442 |
-+ return syscall(__NR_fsetxattr, filedes, name, value, size, flags); |
443 |
- } |
444 |
- |
445 |
- ssize_t libattr_getxattr(const char *path, const char *name, |
446 |
- void *value, size_t size) |
447 |
- { |
448 |
-- return getxattr(path, name, value, size); |
449 |
-+ return syscall(__NR_getxattr, path, name, value, size); |
450 |
- } |
451 |
- |
452 |
- ssize_t libattr_lgetxattr(const char *path, const char *name, |
453 |
- void *value, size_t size) |
454 |
- { |
455 |
-- return lgetxattr(path, name, value, size); |
456 |
-+ return syscall(__NR_lgetxattr, path, name, value, size); |
457 |
- } |
458 |
- |
459 |
- ssize_t libattr_fgetxattr(int filedes, const char *name, |
460 |
- void *value, size_t size) |
461 |
- { |
462 |
-- return fgetxattr(filedes, name, value, size); |
463 |
-+ return syscall(__NR_fgetxattr, filedes, name, value, size); |
464 |
- } |
465 |
- |
466 |
- ssize_t libattr_listxattr(const char *path, char *list, size_t size) |
467 |
- { |
468 |
-- return listxattr(path, list, size); |
469 |
-+ return syscall(__NR_listxattr, path, list, size); |
470 |
- } |
471 |
- |
472 |
- ssize_t libattr_llistxattr(const char *path, char *list, size_t size) |
473 |
- { |
474 |
-- return llistxattr(path, list, size); |
475 |
-+ return syscall(__NR_llistxattr, path, list, size); |
476 |
- } |
477 |
- |
478 |
- ssize_t libattr_flistxattr(int filedes, char *list, size_t size) |
479 |
- { |
480 |
-- return flistxattr(filedes, list, size); |
481 |
-+ return syscall(__NR_flistxattr, filedes, list, size); |
482 |
- } |
483 |
- |
484 |
- int libattr_removexattr(const char *path, const char *name) |
485 |
- { |
486 |
-- return removexattr(path, name); |
487 |
-+ return syscall(__NR_removexattr, path, name); |
488 |
- } |
489 |
- |
490 |
- int libattr_lremovexattr(const char *path, const char *name) |
491 |
- { |
492 |
-- return lremovexattr(path, name); |
493 |
-+ return syscall(__NR_lremovexattr, path, name); |
494 |
- } |
495 |
- |
496 |
- int libattr_fremovexattr(int filedes, const char *name) |
497 |
- { |
498 |
-- return fremovexattr(filedes, name); |
499 |
-+ return syscall(__NR_fremovexattr, filedes, name); |
500 |
- } |
501 |
- |
502 |
- #ifdef HAVE_VISIBILITY_ATTRIBUTE |
503 |
--- |
504 |
-cgit v1.0-41-gc330 |
505 |
- |