From 65b43c644d61d55acaa6eea91a9245ca33765299 Mon Sep 17 00:00:00 2001 From: wchang kim Date: Thu, 12 Jan 2017 18:26:24 +0900 Subject: Change the smack info for /run/user_ext/ Requested by security part It is the same as /run/user/. Change-Id: Ifa5746d23d9b9ea4794f16dd572be46ad65f0b8c --- src/systemd-user-helper/systemd-user-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3