summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwchang kim <wchang.kim@samsung.com>2017-01-12 18:26:24 +0900
committerwchang kim <wchang.kim@samsung.com>2017-01-12 18:26:24 +0900
commit65b43c644d61d55acaa6eea91a9245ca33765299 (patch)
tree6ccfc07258001a51edb578641679c8ccb5cd27bc /src
parent9ce7b946b0aeb3c5ef9f6bc4033c5aedecb009ec (diff)
downloadsystem-plugin-65b43c644d61d55acaa6eea91a9245ca33765299.tar.gz
system-plugin-65b43c644d61d55acaa6eea91a9245ca33765299.tar.bz2
system-plugin-65b43c644d61d55acaa6eea91a9245ca33765299.zip
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.c2
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);