chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
731a7d6
)
optimize SELinux path match
author
Harald Hoyer
<harald@redhat.com>
Tue, 6 Dec 2005 18:00:40 +0000
(19:00 +0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Tue, 6 Dec 2005 18:00:40 +0000
(19:00 +0100)
udev_selinux.c
patch
|
blob
|
history
diff --git
a/udev_selinux.c
b/udev_selinux.c
index 6ec359edd4bd64d4578509876784372cde00ef28..f014ea55359d6653950a419fd33827dff76e2cf9 100644
(file)
--- a/
udev_selinux.c
+++ b/
udev_selinux.c
@@
-152,6
+152,7
@@
void selinux_init(void)
* restoration creation purposes.
*/
if (is_selinux_running()) {
+ matchpathcon_init_prefix(NULL, "/dev");
if (getfscreatecon(&prev_scontext) < 0) {
err("getfscreatecon failed\n");
prev_scontext = NULL;