Below Security-server APIs can be return 'access deny" by 3-domain smack policy.
And it makes bootting and running issue.
So we should comment out them temporarily untill implement of Cynara.
- security_server_check_privilege_by_sockfd
- security_server_check_privilege_by_pid
- security_server_check_privilege_by_cookie
visit below site:
https://wiki.tizen.org/wiki/Security:Cynara
Change-Id: Idcf379a1cd6ee38c80d21b952cdf52b067813603
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
SECURITY_SERVER_API
int security_server_check_privilege_by_cookie(const char *cookie, const char *object, const char *access_rights)
{
+#if 0
using namespace SecurityServer;
MessageBuffer send, recv;
int retval = SECURITY_SERVER_API_ERROR_UNKNOWN;
Deserialization::Deserialize(recv, retval);
return retval;
});
+#endif
+ return SECURITY_SERVER_API_SUCCESS;
}
SECURITY_SERVER_API
int pid,
const char *object,
const char *access_rights) {
+#if 0
using namespace SecurityServer;
return try_catch([&] {
if (1 != smack_check())
Deserialization::Deserialize(recv, result);
return result;
});
+#endif
+ return SECURITY_SERVER_API_SUCCESS;
}
const char *object,
const char *access_rights)
{
+#if 0
char *subject = NULL;
int ret;
std::string path;
}
return security_server_check_privilege_by_pid(cr.pid, object, access_rights);
+#endif
+ return SECURITY_SERVER_API_SUCCESS;
}
SECURITY_SERVER_API