diff options
author | wchang kim <wchang.kim@samsung.com> | 2017-01-12 18:26:24 +0900 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2017-01-12 18:26:24 +0900 |
commit | 65b43c644d61d55acaa6eea91a9245ca33765299 (patch) | |
tree | 6ccfc07258001a51edb578641679c8ccb5cd27bc /src | |
parent | 9ce7b946b0aeb3c5ef9f6bc4033c5aedecb009ec (diff) | |
download | system-plugin-65b43c644d61d55acaa6eea91a9245ca33765299.tar.gz system-plugin-65b43c644d61d55acaa6eea91a9245ca33765299.tar.bz2 system-plugin-65b43c644d61d55acaa6eea91a9245ca33765299.zip |
Change the smack info for /run/user_ext/<uid>submit/tizen_3.0/20170112.094958accepted/tizen/3.0/wearable/20170113.001339accepted/tizen/3.0/tv/20170113.001322accepted/tizen/3.0/mobile/20170113.001307accepted/tizen/3.0/ivi/20170113.001402accepted/tizen/3.0/common/20170113.072420tizen_3.0_tv
Requested by security part
It is the same as /run/user/<uid>.
Change-Id: Ifa5746d23d9b9ea4794f16dd572be46ad65f0b8c
Diffstat (limited to 'src')
-rw-r--r-- | src/systemd-user-helper/systemd-user-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |