diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-12-22 17:29:20 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-12-22 17:29:20 +0100 |
commit | 1698d39857e105876011b95e82d44c5e1e0846f2 (patch) | |
tree | 4fb2730064cf0bce9dddb8496f361cb9bc8da986 | |
parent | caa4fd85aeff9c40897d34fba09b4fb7c18d2198 (diff) |
use udev_root instead of "/dev"in selinux matchpathcon_init_prefix()
Taken from Red Hat CVS:
udev-075-selinux.patch
-rw-r--r-- | udev_selinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_selinux.c b/udev_selinux.c index f014ea5535..1e1fdb9617 100644 --- a/udev_selinux.c +++ b/udev_selinux.c @@ -152,7 +152,7 @@ void selinux_init(void) * restoration creation purposes. */ if (is_selinux_running()) { - matchpathcon_init_prefix(NULL, "/dev"); + matchpathcon_init_prefix(NULL, udev_root); if (getfscreatecon(&prev_scontext) < 0) { err("getfscreatecon failed\n"); prev_scontext = NULL; |