From 960250952193db522b8ced336bf998bd7e8e4a31 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 8 Apr 2011 03:08:16 +0200 Subject: selinux: firmware - do not label files in runtime dir --- extras/firmware/firmware.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'extras') 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"); -- cgit v1.2.3-54-g00ecf