Searched refs:DAC_READ (Results 1 – 8 of 8) sorted by relevance
/base/startup/init/test/unittest/param/ |
D | dac_unittest.cpp | 118 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);
|
D | selinux_unittest.cpp | 105 ret = clientParamSercurityOps.securityCheckFilePermission(&label, fileName, DAC_READ); in TestClientSelinuxCheckFilePermission() 142 TestGetParamLabelIndex(name), &srclabel, name, DAC_READ); in TestClientSelinuxCheckParaPermissionRead()
|
/base/startup/init/services/param/liteos/ |
D | param_client.c | 71 int ret = CheckParamPermission(GetParamSecurityLabel(), name, DAC_READ); in SystemWaitParameter()
|
/base/startup/init/services/param/include/ |
D | param_security.h | 37 #define DAC_READ 0x0100 // 4 macro
|
/base/startup/init/services/param/base/ |
D | param_base.c | 67 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/ |
D | param_manager.c | 101 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/ |
D | param_request.c | 221 ret = CheckParamPermission(GetParamSecurityLabel(), name, DAC_READ); in SystemWaitParameter()
|
/base/startup/init/services/begetctl/ |
D | param_cmd.c | 153 if (mode & (DAC_READ >> shift)) { in GetPermissionString()
|