Home
last modified time | relevance | path

Searched refs:securityInitLabel (Results 1 – 7 of 7) sorted by relevance

/base/startup/init/test/unittest/param/
Dselinux_unittest.cpp44 …if (initParamSercurityOps.securityInitLabel == nullptr || initParamSercurityOps.securityFreeLabel … in TestSelinuxInitLocalLabel()
48 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestSelinuxInitLocalLabel()
63 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestSelinuxCheckFilePermission()
80 ret = initParamSercurityOps.securityInitLabel(&srclabel, LABEL_INIT_FOR_INIT); in TestSelinuxCheckParaPermission()
99 ret = clientParamSercurityOps.securityInitLabel(&label, 0); in TestClientSelinuxCheckFilePermission()
117 ret = clientParamSercurityOps.securityInitLabel(&srclabel, 0); in TestClientSelinuxCheckParaPermissionWrite()
134 ret = clientParamSercurityOps.securityInitLabel(&srclabel, 0); in TestClientSelinuxCheckParaPermissionRead()
Ddac_unittest.cpp41 …if (initParamSercurityOps.securityInitLabel == nullptr || initParamSercurityOps.securityFreeLabel … in TestDacInitLocalLabel()
45 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestDacInitLocalLabel()
60 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestDacCheckFilePermission()
83 ret = initParamSercurityOps.securityInitLabel(&srclabel, LABEL_INIT_FOR_INIT); in TestDacCheckParaPermission()
102 ret = clientParamSercurityOps.securityInitLabel(&label, 0); in TestClientDacCheckFilePermission()
/base/startup/init/services/param/liteos/
Dparam_litedac.c73 ops->securityInitLabel = InitLocalSecurityLabel; in RegisterSecurityDacOps()
/base/startup/init/services/param/include/
Dparam_security.h89 int (*securityInitLabel)(ParamSecurityLabel *label, int isInit); member
/base/startup/init/services/param/base/
Dparam_base.c64 PARAM_CHECK(workSpace->paramSecurityOps[type].securityInitLabel != NULL, in InitParamSecurity()
66 … ret = workSpace->paramSecurityOps[type].securityInitLabel(&workSpace->securityLabel, isInit); in InitParamSecurity()
/base/startup/init/services/param/adapter/
Dparam_selinux.c316 ops->securityInitLabel = InitLocalSecurityLabel; in RegisterSecuritySelinuxOps()
Dparam_dac.c287 ops->securityInitLabel = InitLocalSecurityLabel; in RegisterSecurityDacOps()