From: Kay Sievers Date: Fri, 8 Apr 2011 01:08:16 +0000 (+0200) Subject: selinux: firmware - do not label files in runtime dir X-Git-Tag: 174~199 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960250952193db522b8ced336bf998bd7e8e4a31;p=systemd selinux: firmware - do not label files in runtime dir --- diff --git a/extras/firmware/firmware.c b/extras/firmware/firmware.c index 81998201..f2df76c8 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");