Home
last modified time | relevance | path

Searched refs:LABEL_INIT_FOR_INIT (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/test/unittest/param/
Dselinux_unittest.cpp44 ret = RegisterSecuritySelinuxOps(&initParamSercurityOps, LABEL_INIT_FOR_INIT); in TestSelinuxInitLocalLabel()
51 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestSelinuxInitLocalLabel()
60 int ret = RegisterSecuritySelinuxOps(&initParamSercurityOps, LABEL_INIT_FOR_INIT); in TestSelinuxCheckFilePermission()
66 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestSelinuxCheckFilePermission()
77 int ret = RegisterSecuritySelinuxOps(&initParamSercurityOps, LABEL_INIT_FOR_INIT); in TestSelinuxCheckParaPermission()
83 ret = initParamSercurityOps.securityInitLabel(&srclabel, LABEL_INIT_FOR_INIT); in TestSelinuxCheckParaPermission()
Ddac_unittest.cpp38 int ret = RegisterSecurityDacOps(nullptr, LABEL_INIT_FOR_INIT); in TestDacInitLocalLabel()
40 ret = RegisterSecurityDacOps(&initParamSecurityOps, LABEL_INIT_FOR_INIT); in TestDacInitLocalLabel()
47 ret = initParamSecurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestDacInitLocalLabel()
56 int ret = RegisterSecurityDacOps(&initParamSecurityOps, LABEL_INIT_FOR_INIT); in TestDacGetLabel()
68 int ret = RegisterSecurityDacOps(&initParamSecurityOps, LABEL_INIT_FOR_INIT); in TestDacCheckFilePermission()
74 ret = initParamSecurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestDacCheckFilePermission()
85 int ret = RegisterSecurityDacOps(&initParamSecurityOps, LABEL_INIT_FOR_INIT); in TestDacCheckParaPermission()
97 ret = initParamSecurityOps.securityInitLabel(&srclabel, LABEL_INIT_FOR_INIT); in TestDacCheckParaPermission()
/base/startup/init/services/param/include/
Dparam_security.h44 #define LABEL_INIT_FOR_INIT 0x01 macro
/base/startup/init/services/param/base/
Dparam_base.c55 if (isInit == LABEL_INIT_FOR_INIT) { in InitParamSecurity()
69 isInit = LABEL_INIT_FOR_INIT; in RegisterSecurityOps()