Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 531970 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]
0001-misc-functions-selinux-is-gone-in-favour-of-sys-fs-s.patch
0001-misc-functions-selinux-is-gone-in-favour-of-sys-fs-s.patch (text/plain), 1.30 KB, created by
Jason Zaman
on 2018-05-18 06:05:06 UTC
(
hide
)
Description:
0001-misc-functions-selinux-is-gone-in-favour-of-sys-fs-s.patch
Filename:
MIME Type:
Creator:
Jason Zaman
Created:
2018-05-18 06:05:06 UTC
Size:
1.30 KB
patch
obsolete
>From 2e3675dc88a71a4bc4a4533ad058288a1f6fa90b Mon Sep 17 00:00:00 2001 >From: Jason Zaman <perfinion@gentoo.org> >Date: Fri, 18 May 2018 12:05:29 +0800 >Subject: [PATCH 1/2] misc-functions: /selinux is gone in favour of > /sys/fs/selinux > >It was moved to /sys/fs/selinux/ long ago and not supported anymore > >Signed-off-by: Jason Zaman <perfinion@gentoo.org> >--- > bin/misc-functions.sh | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh >index 0648e6cfd..f3ad52305 100755 >--- a/bin/misc-functions.sh >+++ b/bin/misc-functions.sh >@@ -439,14 +439,12 @@ preinst_selinux_labels() { > # SELinux file labeling (needs to execute after preinst) > # only attempt to label if setfiles is executable > # and 'context' is available on selinuxfs. >- if [ -f /selinux/context -o -f /sys/fs/selinux/context ] && \ >- [ -x /usr/sbin/setfiles -a -x /usr/sbin/selinuxconfig ]; then >+ if [ -f /sys/fs/selinux/context -a -x /usr/sbin/setfiles -a -x /usr/sbin/selinuxconfig ]; then > __vecho ">>> Setting SELinux security labels" > ( > eval "$(/usr/sbin/selinuxconfig)" || \ > die "Failed to determine SELinux policy paths."; > >- addwrite /selinux/context > addwrite /sys/fs/selinux/context > > /usr/sbin/setfiles -F "${file_contexts_path}" -r "${D}" "${D}" >-- >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