Home
last modified time | relevance | path

Searched defs:labelIndex (Results 1 – 10 of 10) sorted by relevance

/base/startup/init/services/param/base/
Dparam_comm.c30 …uint32_t labelIndex = (uint32_t)paramSpace->selinuxSpace.getParamLabelIndex(name) + WORKSPACE_INDE… in GetWorkSpaceByName() local
40 INIT_LOCAL_API WorkSpace *GetWorkSpace(uint32_t labelIndex) in GetWorkSpace()
Dparam_base.c230 INIT_LOCAL_API int AddWorkSpace(const char *name, uint32_t labelIndex, int onlyRead, uint32_t space… in AddWorkSpace()
269 …C_INLINE int CheckAndExtendSpace(ParamWorkSpace *paramSpace, const char *name, uint32_t labelIndex) in CheckAndExtendSpace()
349 ParamLabelIndex labelIndex = {0}; in ReadParamWithCheck() local
406 STATIC_INLINE int DacCheckParamPermission(const ParamLabelIndex *labelIndex, in DacCheckParamPermission()
470 STATIC_INLINE int SelinuxCheckParamPermission(const ParamLabelIndex *labelIndex, in SelinuxCheckParamPermission()
501 static int CheckParamPermission_(const ParamLabelIndex *labelIndex, in CheckParamPermission_()
526 static int CheckParamPermission_(const ParamLabelIndex *labelIndex, in CheckParamPermission_()
Dparam_trie.c333 uint32_t labelIndex = 0; in GetParamNode() local
/base/startup/init/services/param/adapter/
Dparam_selinux.c176 uint32_t labelIndex = paramNode->index + WORKSPACE_INDEX_BASE; in HandleSelinuxLabelForInit() local
212 uint32_t labelIndex = paramNode->index + WORKSPACE_INDEX_BASE; in HandleSelinuxLabelForPermission() local
273 static int UpdaterCheckParamPermission(const ParamLabelIndex *labelIndex, in UpdaterCheckParamPermission()
/base/startup/init/test/unittest/param/
Dparam_unittest.cpp86 uint32_t labelIndex = 0; in TestAddSecurityLabel1() local
112 uint32_t labelIndex = 0; in TestAddSecurityLabel2() local
146 uint32_t labelIndex = 0; in TestAddSecurityLabel3() local
173 uint32_t labelIndex = 0; in TestAddSecurityLabel4() local
Dparamservice_unittest.cpp87 uint32_t labelIndex = 0; in TestAddSecurityLabel1() local
113 uint32_t labelIndex = 0; in TestAddSecurityLabel2() local
147 uint32_t labelIndex = 0; in TestAddSecurityLabel3() local
171 uint32_t labelIndex = 0; in TestAddSecurityLabel4() local
Dparam_stub.cpp536 int TestCheckParamPermission(const ParamLabelIndex *labelIndex, in TestCheckParamPermission()
745 static ParamLabelIndex labelIndex = {0}; in TestGetParamLabelIndex() local
/base/startup/init/services/param/liteos/
Dparam_litedac.c55 static int LiteDacCheckParamPermission(const ParamLabelIndex *labelIndex, in LiteDacCheckParamPermission()
/base/startup/init/services/param/manager/
Dparam_manager.c246 uint32_t labelIndex = 0; in GetParamSecurityAuditData() local
504 uint32_t labelIndex = 0; in GetParamValueType() local
571 uint32_t labelIndex = 0; in ReadParamName() local
633 ParamLabelIndex labelIndex = {0}; in CheckParamPermission_() local
657 uint32_t labelIndex = 0; in GetTrieNodeByHandle() local
/base/startup/init/services/param/include/
Dparam_common.h58 uint32_t labelIndex; member