Date: Mon, 4 Sep 2023 21:49:59 +0300 From: Dmitry Chagin <dchagin@freebsd.org> To: current@freebsd.org Subject: Re: Possible issue with linux xattr support? Message-ID: <ZPYm1x71N2cTJKDw@heemeyer.club> In-Reply-To: <hmixz6dxasfjhmdc2b7ckxpo2phfzwczlwvlhqhwmdhob65pal@bkmimfxfwvio> References: <wp767un2xqnfmmox7uxrl3arrr3mzhccze7okk6zcmc4qnr2xj@kgjyjpezyfy6> <ZO8KaKBwliVeGdVG@heemeyer.club> <l5vgnwjddobhl5h2vceafhdo5uyqznaih7se7rk7bilwzqjpax@5ucptcralggq> <ZO8ea5sXCEKYimr1@heemeyer.club> <hwugmejws4sihu2gi4ccqi34cplyq6dfctkhkb6crnuivz65pz@sbr6og3znxlv> <ZO8iWGOWcM9x8FOR@heemeyer.club> <xehacpkc3uc3cjgkybj26snod2d76hfuoz2qnhsjectxtojvhx@ytzoek66ksz5> <52go6mhpf34em7x7llzh7dgtf7ggdd7n2wuofm2yrndiw73yqk@pgngyvdypvhd> <ZPYiGN1__7rKo2lt@heemeyer.club> <hmixz6dxasfjhmdc2b7ckxpo2phfzwczlwvlhqhwmdhob65pal@bkmimfxfwvio>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 04, 2023 at 08:43:02PM +0200, Felix Palmen wrote: > Hello Dmitry, > > * Dmitry Chagin <dchagin@freebsd.org> [20230904 21:29]: > > Thanks for the report, > > please, try this: https://people.freebsd.org/~dchagin/lxattr.patch > > Don't be surprised, there 2 fixes > > Thanks a lot for the quick patch! I have to admit I don't fully > understand it immediately, but I assume it's an attempt to only list > attributes not in system.* when that namespace is restricted? no, + if (error == EPERM) + break; mean that listxattr will fail if user is unauthorized to access system namespace, ie, listxattr will return ENOTSUP > > Well, it *does* solve the issue with 'cp -p' from GNU coreutils! > > I guess I'll now do a full rebuild of my linuxulator userspace branch on > a kernel with that patch, just to be sure it won't break anything else, > this will take a few hours, I will report back. So far looking really > good :) > nice, thanks > Cheers, Felix > > -- > Felix Palmen <zirias@FreeBSD.org> {private} felix@palmen-it.de > -- ports committer -- {web} http://palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt > {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZPYm1x71N2cTJKDw>