evas-cserve2 make the socket file in the /run/.efl
and ecore_evas_extn_buf make tmp file in that folder.
It has a authority of "User::App::Shared"
@tizen_feature
Conflicts:
packaging/efl.spec
Change-Id: Ie8baa503237204f7f484e8f2d305e1a3a9d05e96
-d /run/.ecore 1770 display users
-t /run/.ecore - - - - security.SMACK64="User::App::Shared"
-t /run/.ecore - - - - security.SMACK64TRANSMUTE="TRUE"
+d /run/.efl 1770 display users
+t /run/.efl - - - - security.SMACK64="User::App::Shared"
+t /run/.efl - - - - security.SMACK64TRANSMUTE="TRUE"
}
}
- snprintf(buf, sizeof(buf), "/tmp/.evas-cserve2-%x.socket", (int)getuid());
+ //TIZEN ONLY (150917): security issue. To access any application, it needs smack rule.
+ //snprintf(buf, sizeof(buf), "/tmp/.evas-cserve2-%x.socket", (int)getuid());
+ snprintf(buf, sizeof(buf), "/run/.efl/.evas-cserve2-%x.socket", (int)getuid());
+ //
/* FIXME: check we can actually create this socket */
strcpy(path, buf);
#if 0
}
//TIZEN ONLY (150908): security issue. To access any application, it needs smack rule.
//if (!s) s = "/tmp";
- s = "/run/.ecore";
+ s = "/run/.efl";
//
snprintf(file, sizeof(file), "%s/ee-lock-XXXXXX", s);
b->lockfd = mkstemp(file);