Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 522250 Details for
Bug 649524
prepstrip: Preservation of extended attributes using getfattr+setfattr does not preserve extended attributes outside of user namespace
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
portage.patch (text/plain), 1.00 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2018-03-04 02:38:39 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2018-03-04 02:38:39 UTC
Size:
1.00 KB
patch
obsolete
>From cefba52f384b08367d929ac5eae63cd326e28072 Mon Sep 17 00:00:00 2001 >From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >Date: Sun, 4 Mar 2018 03:33:44 +0100 >Subject: [PATCH] prepstrip: Preserve extended attributes outside of user > namespace. > >Pass '-m -' to getfattr for including all extended attributes, because >getfattr defaults to including only user.* extended attributes. > >Bug: https://bugs.gentoo.org/649524 >--- > bin/ebuild-helpers/prepstrip | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip >index ea5c0dc09..929547ae5 100755 >--- a/bin/ebuild-helpers/prepstrip >+++ b/bin/ebuild-helpers/prepstrip >@@ -35,7 +35,7 @@ if [[ ${KERNEL} == linux ]] && ${FEATURES_xattr} ; then > PRESERVE_XATTR=true > if type -P getfattr >/dev/null && type -P setfattr >/dev/null ; then > dump_xattrs() { >- getfattr -d --absolute-names "$1" >+ getfattr -d -m - --absolute-names "$1" > } > restore_xattrs() { > setfattr --restore=- >-- >2.16.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 649524
: 522250