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 302746 Details for
Bug 442886
/dev/.udev* objects labeled with device_t type
[?]
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]
verified fix
udev-095-setfscreatecon.patch (text/plain), 1.04 KB, created by
Harald Hoyer
on 2008-04-17 13:28:38 UTC
(
hide
)
Description:
verified fix
Filename:
MIME Type:
Creator:
Harald Hoyer
Created:
2008-04-17 13:28:38 UTC
Size:
1.04 KB
patch
obsolete
>diff -up udev-095/udevd.c.slink udev-095/udevd.c >--- udev-095/udevd.c.slink 2008-04-17 14:53:25.000000000 +0200 >+++ udev-095/udevd.c 2008-04-17 14:53:25.000000000 +0200 >@@ -196,7 +196,9 @@ static void export_event_state(struct ue > strlcpy(target, sysfs_path, sizeof(target)); > strlcat(target, msg->devpath, sizeof(target)); > create_path(filename); >+ selinux_setfscreatecon(filename, NULL, S_IFLNK); > symlink(target, filename); >+ selinux_resetfscreatecon(); > return; > case EVENT_FINISHED: > case EVENT_FAILED: >diff -up udev-095/udev_utils_file.c.slink udev-095/udev_utils_file.c >--- udev-095/udev_utils_file.c.slink 2008-04-17 14:53:25.000000000 +0200 >+++ udev-095/udev_utils_file.c 2008-04-17 14:53:25.000000000 +0200 >@@ -57,7 +57,9 @@ int create_path(const char *path) > return -1; > > dbg("mkdir '%s'\n", p); >+ selinux_setfscreatecon(p, NULL, S_IFDIR); > ret = mkdir(p, 0755); >+ selinux_resetfscreatecon(); > if ( ret != 0 && errno == EEXIST && stat (p, &stats) == 0 && (stats.st_mode & S_IFMT) == S_IFDIR) > return 0; >
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 442886
: 302746