smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled.
authorSangjung Woo <sangjung.woo@samsung.com>
Thu, 10 Sep 2015 12:52:39 +0000 (21:52 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Thu, 10 Sep 2015 12:52:39 +0000 (21:52 +0900)
commit1fab0cbafcb67cff912d0e45de9677135550f924
treec46bdad54e89e59ae0d7b33decb3e3db8f970303
parentf33be3119806f96898dda6ade492fbdcdf8f79b8
smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled.

/etc/mtab should be labeled as "_", even though systemd has its own
smack label using '--with-smack-run-label' configuration. This is mainly
because all processes could read that file and the origin of this file
(i.e. /proc/mounts) is labeled as "_". This labels /etc/mtab as "_" when
'--with-smack-run-label' is enabled.
configure.ac
tmpfiles.d/etc.conf.m4