On 3/5/23 01:40, Xin LI wrote:
The branch main has been updated by delphij:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c237c10a2346dec422233db05b2012afd45363fa

commit c237c10a2346dec422233db05b2012afd45363fa
Author:     Xin LI <[email protected]>
AuthorDate: 2023-03-05 09:40:13 +0000
Commit:     Xin LI <[email protected]>
CommitDate: 2023-03-05 09:40:13 +0000

     xz: Improve compatibility with systems without capability mode support
When the kernel is built without capability mode support, or when
     using an emulator like qemu-user-static that does not translate
     system calls, these calls will return a negative number and set
     the errno to ENOSYS. However, this error does not indicate a
     real programming or runtime error and is generally ignored by
     base system applications built with capability mode sandboxing.
Match this behavior by making xz(1) to ignore ENOSYS errors
     when calling capability mode system calls too.
PR: 269185
     Reported by:    Dan Kotowski
     MFC after:      2 days
-
Just an FYI
Not so long ago [1] cperciva was going to deprecate WITHOUT_CAPSICUM and WITHOUT_CASPER.
So this change might become redundant soon.

[1] https://lists.freebsd.org/archives/freebsd-arch/2023-February/000325.html

--
Ihor Antonov


Reply via email to