Searched refs:selinuxSpace (Results 1 – 5 of 5) sorted by relevance
37 static int InitSelinuxOpsForInit(SelinuxSpace *selinuxSpace) in InitSelinuxOpsForInit() argument39 if (selinuxSpace->selinuxHandle == NULL) { in InitSelinuxOpsForInit()41 selinuxSpace->selinuxHandle = dlopen(libname, RTLD_LAZY); in InitSelinuxOpsForInit()42 PARAM_CHECK(selinuxSpace->selinuxHandle != NULL, in InitSelinuxOpsForInit()45 void *handle = selinuxSpace->selinuxHandle; in InitSelinuxOpsForInit()46 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()50 if (selinuxSpace->getParamList == NULL) { in InitSelinuxOpsForInit()51 selinuxSpace->getParamList = (ParamContextsList *(*)()) dlsym(handle, "GetParamList"); in InitSelinuxOpsForInit()[all …]
132 SelinuxSpace *selinuxSpace = &GetParamWorkSpace()->selinuxSpace; in TestSetSelinuxOps() local133 selinuxSpace->setSelinuxLogCallback = TestSetSelinuxLogCallback; in TestSetSelinuxOps()134 selinuxSpace->setParamCheck = TestSetParamCheck; in TestSetSelinuxOps()135 selinuxSpace->getParamLabel = TestGetParamLabel; in TestSetSelinuxOps()136 selinuxSpace->readParamCheck = TestReadParamCheck; in TestSetSelinuxOps()137 selinuxSpace->getParamList = TestGetParamList; in TestSetSelinuxOps()138 selinuxSpace->destroyParamList = TestDestroyParamList; in TestSetSelinuxOps()
65 SelinuxSpace selinuxSpace; member
252 const char *tmpName = (paramSpace->selinuxSpace.getParamLabel != NULL) ? in GetParamSecurityAuditData()253 paramSpace->selinuxSpace.getParamLabel(name) : NULL; in GetParamSecurityAuditData()
51 tmpName = (paramSpace->selinuxSpace.getParamLabel != NULL) ? in GetWorkSpace()52 (char *)paramSpace->selinuxSpace.getParamLabel(name) : WORKSPACE_NAME_NORMAL; in GetWorkSpace()