diff options
author | WaLyong Cho <walyong.cho@samsung.com> | 2014-10-24 06:51:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-24 13:56:24 +0200 |
commit | 2ec62d8e846a8d15f6e3002690da70500168ff46 (patch) | |
tree | f3e4601393a090ec127acd8082fdda49e0fc1b8f /src/udev/udev-node.c | |
parent | manager: Linux on hppa has fewer rtsigs, hence avoid using the higher ones there (diff) | |
download | systemd-2ec62d8e846a8d15f6e3002690da70500168ff46.tar.xz systemd-2ec62d8e846a8d15f6e3002690da70500168ff46.zip |
udev: do NOT re-label smack
If selinux is disabled and smack is only enabled, smack label is
relable-ed by label_fix. To avoid, make only be labeled for selinux.
Diffstat (limited to 'src/udev/udev-node.c')
-rw-r--r-- | src/udev/udev-node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c index 4ac6f71490..030e459198 100644 --- a/src/udev/udev-node.c +++ b/src/udev/udev-node.c @@ -323,7 +323,7 @@ static int node_permissions_apply(struct udev_device *dev, bool apply, /* set the defaults */ if (!selinux) - label_fix(devnode, true, false); + mac_selinux_fix(devnode, true, false); if (!smack) mac_smack_apply(devnode, NULL); } |