]> err.no Git - systemd/commitdiff
selinux: firmware - do not label files in runtime dir
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Apr 2011 01:08:16 +0000 (03:08 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 8 Apr 2011 01:08:16 +0000 (03:08 +0200)
extras/firmware/firmware.c

index 81998201b200b29e4842647575b187223667eb5f..f2df76c8c54e0d9a7ce5adb015afca49f02bfdc6 100644 (file)
@@ -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");