Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 942743 Details for
Bug 1147910
RFE: security: write out udev rules for dm devices, so it doesn't fight udev over selinux labeling
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-udev-set-default-selinux-label-only-at-add-events.patch-fedora
0001-udev-set-default-selinux-label-only-at-add-events.patch-fedora (text/plain), 1.05 KB, created by
Federico Simoncelli
on 2014-09-30 13:51:35 UTC
(
hide
)
Description:
0001-udev-set-default-selinux-label-only-at-add-events.patch-fedora
Filename:
MIME Type:
Creator:
Federico Simoncelli
Created:
2014-09-30 13:51:35 UTC
Size:
1.05 KB
patch
obsolete
>From 11590caa38178ff067cd6cab9f30b91c68c24bd4 Mon Sep 17 00:00:00 2001 >From: Federico Simoncelli <fsimonce@redhat.com> >Date: Tue, 30 Sep 2014 13:34:19 +0000 >Subject: [PATCH] udev: set default selinux label only at "add" events > >Signed-off-by: Federico Simoncelli <fsimonce@redhat.com> >--- > src/udev/udev-node.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c >index ca3d781..42b2add 100644 >--- a/src/udev/udev-node.c >+++ b/src/udev/udev-node.c >@@ -285,7 +285,10 @@ static int node_permissions_apply(struct udev_device *dev, bool apply, mode_t mo > } else { > log_debug("preserve permissions %s, %#o, uid=%u, gid=%u", devnode, mode, uid, gid); > } >- label_fix(devnode, true, false); >+ >+ if (streq(udev_device_get_action(dev), "add")) { >+ label_fix(devnode, true, false); >+ } > } > > /* always update timestamp when we re-use the node, like on media change events */ >-- >1.9.3 >
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 1147910
: 942743 |
942744