Home
last modified time | relevance | path

Searched refs:DAC_READ (Results 1 – 8 of 8) sorted by relevance

/base/startup/init/test/unittest/param/
Ddac_unittest.cpp118 ret = clientParamSercurityOps.securityCheckFilePermission(&label, fileName, DAC_READ); in TestClientDacCheckFilePermission()
151 int ret = test.TestDacCheckParaPermission("test.permission.read.aaa", &dacData, DAC_READ);
162 ret = test.TestDacCheckParaPermission("test.permission.write.aaa", &dacData, DAC_READ);
173 ret = test.TestDacCheckParaPermission("test.permission.watch.aaa", &dacData, DAC_READ);
192 int ret = test.TestDacCheckParaPermission("test.permission.read.aaa", &dacData, DAC_READ);
203 ret = test.TestDacCheckParaPermission("test.permission.write.aaa", &dacData, DAC_READ);
214 ret = test.TestDacCheckParaPermission("test.permission.watch.aaa", &dacData, DAC_READ);
233 int ret = test.TestDacCheckParaPermission("test.permission.read.aaa", &dacData, DAC_READ);
244 ret = test.TestDacCheckParaPermission("test.permission.write.aaa", &dacData, DAC_READ);
255 ret = test.TestDacCheckParaPermission("test.permission.watch.aaa", &dacData, DAC_READ);
Dselinux_unittest.cpp105 ret = clientParamSercurityOps.securityCheckFilePermission(&label, fileName, DAC_READ); in TestClientSelinuxCheckFilePermission()
142 TestGetParamLabelIndex(name), &srclabel, name, DAC_READ); in TestClientSelinuxCheckParaPermissionRead()
/base/startup/init/services/param/liteos/
Dparam_client.c71 int ret = CheckParamPermission(GetParamSecurityLabel(), name, DAC_READ); in SystemWaitParameter()
/base/startup/init/services/param/include/
Dparam_security.h37 #define DAC_READ 0x0100 // 4 macro
/base/startup/init/services/param/base/
Dparam_base.c67 int op = DAC_READ; in RegisterSecurityOps()
382 uint32_t localMode = (mode & (DAC_READ | DAC_WRITE | DAC_WATCH)) >> DAC_GROUP_START; in DacCheckGroupPermission()
423 uint32_t localMode = (mode & (DAC_READ | DAC_WRITE | DAC_WATCH)) >> DAC_OTHER_START; in DacCheckParamPermission()
430 localMode = mode & (DAC_READ | DAC_WRITE | DAC_WATCH); in DacCheckParamPermission()
441 localMode = (mode & (DAC_READ | DAC_WRITE | DAC_WATCH)) >> DAC_GROUP_START; in DacCheckParamPermission()
581 int ret = ReadParamWithCheck(&workspace, name, DAC_READ, &node); in CachedParameterCreate()
/base/startup/init/services/param/manager/
Dparam_manager.c101 int ret = CheckParamPermission(GetParamSecurityLabel(), prefix, DAC_READ); in SystemTraversalParameter()
186 int ret = CheckParamPermission(GetParamSecurityLabel(), "#", DAC_READ); in SystemDumpParameters()
699 int ret = CheckParamPermission_(&workspace, &node, GetParamSecurityLabel(), name, DAC_READ); in SystemReadParam()
720 int ret = CheckParamPermission_(&workspace, &entry, GetParamSecurityLabel(), name, DAC_READ); in SystemFindParameter()
/base/startup/init/services/param/linux/
Dparam_request.c221 ret = CheckParamPermission(GetParamSecurityLabel(), name, DAC_READ); in SystemWaitParameter()
/base/startup/init/services/begetctl/
Dparam_cmd.c153 if (mode & (DAC_READ >> shift)) { in GetPermissionString()