chiark / gitweb /
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 8199820..f2df76c 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");