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 942744 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-master
0001-udev-set-default-selinux-label-only-at-add-events.patch-master (text/plain), 865 bytes, created by
Federico Simoncelli
on 2014-09-30 13:52:06 UTC
(
hide
)
Description:
0001-udev-set-default-selinux-label-only-at-add-events.patch-master
Filename:
MIME Type:
Creator:
Federico Simoncelli
Created:
2014-09-30 13:52:06 UTC
Size:
865 bytes
patch
obsolete
>From 1e117f2efb14d7b8e0ef4e1e488500afaf2ac9fa Mon Sep 17 00:00:00 2001 >From: Federico Simoncelli <fsimonce@redhat.com> >Date: Tue, 30 Sep 2014 13:01:49 +0000 >Subject: [PATCH] udev: set default selinux label only at "add" events > >--- > src/udev/udev-node.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c >index 8ef7889..ffe7f87 100644 >--- a/src/udev/udev-node.c >+++ b/src/udev/udev-node.c >@@ -317,7 +317,7 @@ static int node_permissions_apply(struct udev_device *dev, bool apply, > } > > /* set the defaults */ >- if (!selinux) >+ if (!selinux && streq(udev_device_get_action(dev), "add")) > label_fix(devnode, true, false); > if (!smack) > smack_label_path(devnode, NULL); >-- >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