Searched refs:destContext (Results 1 – 5 of 5) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | param_checker.c | 60 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()
|
D | service_checker.cpp | 263 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/ |
D | param_checker.h | 43 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info);
|
/base/startup/init/services/param/include/ |
D | param_security.h | 115 int (*setParamCheck)(const char *paraName, const char *destContext, const SrcInfo *info);
|
/base/startup/init/services/param/adapter/ |
D | param_selinux.c | 35 typedef int (*SelinuxSetParamCheck)(const char *paraName, const char *destContext, const SrcInfo *i…
|