From: wchang kim Date: Thu, 12 Jan 2017 09:26:24 +0000 (+0900) Subject: Change the smack info for /run/user_ext/ X-Git-Tag: submit/tizen_3.0/20170112.094958^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F109963%2F1;p=platform%2Fadaptation%2Fsystem-plugin.git Change the smack info for /run/user_ext/ Requested by security part It is the same as /run/user/. Change-Id: Ifa5746d23d9b9ea4794f16dd572be46ad65f0b8c --- diff --git a/src/systemd-user-helper/systemd-user-helper.c b/src/systemd-user-helper/systemd-user-helper.c index a8145fa..5fb1057 100644 --- a/src/systemd-user-helper/systemd-user-helper.c +++ b/src/systemd-user-helper/systemd-user-helper.c @@ -108,7 +108,7 @@ static int mount_user_ext(char *username) } if (mac_smack_use()) - r = asprintf(&mount_option, "mode=0750,smackfstransmute=System::Run,uid=%d,gid=%d,size=%s", mnt_uid, mnt_gid, MOUNT_SIZE); + r = asprintf(&mount_option, "mode=0750,smackfsroot=*,uid=%d,gid=%d,size=%s", mnt_uid, mnt_gid, MOUNT_SIZE); else r = asprintf(&mount_option, "mode=0750,uid=%d,gid=%d,size=%s", mnt_uid, mnt_gid, MOUNT_SIZE);