Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 531972 Details for
Bug 655996
Portage SELinux enhancements for musl and cleanups
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0002-misc-functions-fix-selinux-labelling-on-musl.patch
0002-misc-functions-fix-selinux-labelling-on-musl.patch (text/plain), 1.02 KB, created by
Jason Zaman
on 2018-05-18 06:05:48 UTC
(
hide
)
Description:
0002-misc-functions-fix-selinux-labelling-on-musl.patch
Filename:
MIME Type:
Creator:
Jason Zaman
Created:
2018-05-18 06:05:48 UTC
Size:
1.02 KB
patch
obsolete
>From 7168162a9ec51ce94a93ce8b0c296f3c56634a99 Mon Sep 17 00:00:00 2001 >From: Jason Zaman <perfinion@gentoo.org> >Date: Fri, 18 May 2018 12:07:24 +0800 >Subject: [PATCH 2/2] misc-functions: fix selinux labelling on musl > >musl's implementation of getopt is different from glibc's in that it >does not accept flags after non-flag arguments, moving the flags earlier >makes SELinux labelling work on musl also. > >Signed-off-by: Jason Zaman <perfinion@gentoo.org> >--- > bin/misc-functions.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh >index f3ad52305..de8af955d 100755 >--- a/bin/misc-functions.sh >+++ b/bin/misc-functions.sh >@@ -447,7 +447,7 @@ preinst_selinux_labels() { > > addwrite /sys/fs/selinux/context > >- /usr/sbin/setfiles -F "${file_contexts_path}" -r "${D}" "${D}" >+ /usr/sbin/setfiles -F -r "${D}" "${file_contexts_path}" "${D}" > ) || die "Failed to set SELinux security labels." > else > # nonfatal, since merging can happen outside a SE kernel >-- >2.16.1 >
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 655996
:
531970
| 531972 |
532540