mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
selinux: firmware - do not label files in runtime dir
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user