Home
last modified time | relevance | path

Searched refs:destContext (Results 1 – 5 of 5) sorted by relevance

/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dparam_checker.c60 static int CheckPerm(const char *paraName, const char *srcContext, const char *destContext, const s… in CheckPerm() argument
67 destContext); in CheckPerm()
71 int res = selinux_check_access(srcContext, destContext, "parameter_service", "set", &msg); in CheckPerm()
82 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info) in SetParamCheck() argument
84 if (paraName == NULL || destContext == NULL || info == NULL) { in SetParamCheck()
96 int res = CheckPerm(paraName, srcContext, destContext, &(info->uc)); in SetParamCheck()
Dservice_checker.cpp263 std::string destContext = ""; in CheckPerm() local
265 ret = GetThisContext(destContext); in CheckPerm()
267 ret = GetServiceContext(serviceName, destContext); in CheckPerm()
272 if (security_check_context(destContext.c_str()) < 0) { in CheckPerm()
273 …selinux_log(SELINUX_ERROR, "context: %s, %s\n", destContext.c_str(), GetErrStr(SELINUX_CHECK_CONTE… in CheckPerm()
282 ret = selinux_check_access(srcContext.c_str(), destContext.c_str(), in CheckPerm()
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dparam_checker.h43 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info);
/base/startup/init/services/param/include/
Dparam_security.h115 int (*setParamCheck)(const char *paraName, const char *destContext, const SrcInfo *info);
/base/startup/init/services/param/adapter/
Dparam_selinux.c35 typedef int (*SelinuxSetParamCheck)(const char *paraName, const char *destContext, const SrcInfo *i…