Home
last modified time | relevance | path

Searched refs:securityGetLabel (Results 1 – 9 of 9) sorted by relevance

/base/startup/init/services/param/liteos/
Dparam_litedac.c74 ops->securityGetLabel = NULL; in RegisterSecurityDacOps()
80 ops->securityGetLabel = DacGetParamSecurityLabel; in RegisterSecurityDacOps()
/base/startup/init/test/unittest/param/
Ddac_unittest.cpp58 if (initParamSecurityOps.securityGetLabel == nullptr) { in TestDacGetLabel()
62 …ret = initParamSecurityOps.securityGetLabel(STARTUP_INIT_UT_PATH "/system/etc/param/ohos.para.dac"… in TestDacGetLabel()
108 if (clientParamSercurityOps.securityGetLabel != nullptr) { in TestClientDacCheckFilePermission()
/base/startup/init/services/param/adapter/
Dparam_selinux.c299 ops->securityGetLabel = NULL; in RegisterSecuritySelinuxOps()
311 ops->securityGetLabel = SelinuxGetParamSecurityLabel; in RegisterSecuritySelinuxOps()
313 ops->securityGetLabel = OpenPermissionWorkSpace; in RegisterSecuritySelinuxOps()
Dparam_dac.c236 ops->securityGetLabel = DacGetParamSecurityLabel; in RegisterSecurityDacOps()
/base/startup/init/services/param/include/
Dparam_security.h103 int (*securityGetLabel)(const char *path); member
/base/startup/init/services/param/manager/
Dparam_server.c219 if (ops != NULL && ops->securityGetLabel != NULL) { in LoadSecurityLabel()
220 ops->securityGetLabel(fileName); in LoadSecurityLabel()
Dparam_manager.c95 if (ops != NULL && ops->securityGetLabel != NULL) { in SystemTraversalParameter()
96 ops->securityGetLabel("open"); in SystemTraversalParameter()
190 if (ops != NULL && ops->securityGetLabel != NULL) { in SystemDumpParameters()
191 ops->securityGetLabel("open"); in SystemDumpParameters()
/base/startup/init/services/param/base/
Dparam_base.c56 … PARAM_CHECK(paramSecurityOps->securityGetLabel != NULL, return -1, "Invalid securityGetLabel"); in InitParamSecurity()
177 if (ops != NULL && ops->securityGetLabel != NULL) { in InitParamWorkSpace()
178 ops->securityGetLabel(NULL); in InitParamWorkSpace()
/base/startup/init/services/param/linux/
Dparam_service.c363 if (ops != NULL && ops->securityGetLabel != NULL) { in LoadSelinuxLabel()
364 ops->securityGetLabel(op); in LoadSelinuxLabel()