summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-08 03:08:16 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-08 03:08:16 +0200
commit960250952193db522b8ced336bf998bd7e8e4a31 (patch)
tree39dc7cecf98e09fcf0ba4f1e0ff5f4ae36083a54
parent51f43b53293c4cc64c2a55598491c6cbf27b6bd5 (diff)
selinux: firmware - do not label files in runtime dir
-rw-r--r--extras/firmware/firmware.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/extras/firmware/firmware.c b/extras/firmware/firmware.c
index 81998201b2..f2df76c8c5 100644
--- a/extras/firmware/firmware.c
+++ b/extras/firmware/firmware.c
@@ -159,11 +159,9 @@ int main(int argc, char **argv)
err = util_create_path(udev, misspath);
if (err != 0 && err != -ENOENT)
break;
- udev_selinux_setfscreatecon(udev, misspath, S_IFLNK);
err = symlink(devpath, misspath);
if (err != 0)
err = -errno;
- udev_selinux_resetfscreatecon(udev);
} while (err == -ENOENT);
rc = 2;
set_loading(udev, loadpath, "-1");