units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled 22/49622/2 accepted/tizen/mobile/20151019.073910 accepted/tizen/tv/20151019.073918 accepted/tizen/wearable/20151019.073928 submit/tizen/20151016.024343 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorSangjung Woo <sangjung.woo@samsung.com>
Wed, 14 Oct 2015 06:38:25 +0000 (15:38 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Fri, 16 Oct 2015 00:46:06 +0000 (09:46 +0900)
commit984e69e56b8febe460f97149d2af8c5656381138
tree7a626ba19e55936ea03872c5b55b66b53569e4be
parentbbca769addf42148b1c451dd1f886cf1e490f684
units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled

If SMACK is enabled, 'smackfsroot=*' option should be specified in
tmp.mount file since many non-root processes use /tmp for temporary
usage. If not, /tmp is labeled as '_' and smack denial occurs when
writing.

origin: https://github.com/systemd/systemd/commit/409c2a13fd65692c6

Change-Id: I11df1ad555f376eaf0588d35e91789c9e2b07f8d
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Makefile.am
units/tmp.mount.m4 [moved from units/tmp.mount with 85% similarity]