Home
last modified time | relevance | path

Searched refs:setParamCheck (Results 1 – 3 of 3) sorted by relevance

/base/startup/init/services/param/adapter/
Dparam_selinux.c46 if (selinuxSpace->setParamCheck == NULL) { in InitSelinuxOpsForInit()
47 selinuxSpace->setParamCheck = (SelinuxSetParamCheck)dlsym(handle, "SetParamCheck"); in InitSelinuxOpsForInit()
48 …PARAM_CHECK(selinuxSpace->setParamCheck != NULL, return -1, "Failed to dlsym setParamCheck %s", dl… in InitSelinuxOpsForInit()
272 PARAM_CHECK(selinuxSpace->setParamCheck != NULL, return ret, "Invalid setParamCheck"); in SelinuxCheckParamPermission()
274 ret = selinuxSpace->setParamCheck(name, context, &info); in SelinuxCheckParamPermission()
/base/startup/init/services/param/include/
Dparam_security.h101 int (*setParamCheck)(const char *paraName, const char *destContext, const SrcInfo *info); member
/base/startup/init/test/unittest/param/
Dparam_stub.cpp134 selinuxSpace->setParamCheck = TestSetParamCheck; in TestSetSelinuxOps()