Searched refs:DAC_WRITE (Results 1 – 8 of 8) sorted by relevance
/base/startup/init/test/unittest/param/ |
D | dac_unittest.cpp | 62 ret = initParamSercurityOps.securityCheckFilePermission(&label, fileName, DAC_WRITE); in TestDacCheckFilePermission() 140 ret = test.TestDacCheckParaPermission("test.permission.read.aaa", &dacData, DAC_WRITE); 151 ret = test.TestDacCheckParaPermission("test.permission.write.aaa", &dacData, DAC_WRITE); 162 ret = test.TestDacCheckParaPermission("test.permission.watch.aaa", &dacData, DAC_WRITE); 181 ret = test.TestDacCheckParaPermission("test.permission.read.aaa", &dacData, DAC_WRITE); 192 ret = test.TestDacCheckParaPermission("test.permission.write.aaa", &dacData, DAC_WRITE); 203 ret = test.TestDacCheckParaPermission("test.permission.watch.aaa", &dacData, DAC_WRITE); 222 ret = test.TestDacCheckParaPermission("test.permission.read.aaa", &dacData, DAC_WRITE); 233 ret = test.TestDacCheckParaPermission("test.permission.write.aaa", &dacData, DAC_WRITE); 244 ret = test.TestDacCheckParaPermission("test.permission.watch.aaa", &dacData, DAC_WRITE);
|
D | selinux_unittest.cpp | 65 ret = initParamSercurityOps.securityCheckFilePermission(&label, fileName, DAC_WRITE); in TestSelinuxCheckFilePermission() 83 ret = initParamSercurityOps.securityCheckParamPermission(&srclabel, name, DAC_WRITE); in TestSelinuxCheckParaPermission() 119 ret = clientParamSercurityOps.securityCheckParamPermission(&srclabel, name, DAC_WRITE); in TestClientSelinuxCheckParaPermissionWrite()
|
/base/startup/init/services/param/adapter/ |
D | param_dac.c | 259 localMode = mode & (DAC_READ | DAC_WRITE | DAC_WATCH); in DacCheckParamPermission() 261 localMode = (mode & (DAC_READ | DAC_WRITE | DAC_WATCH)) >> DAC_GROUP_START; in DacCheckParamPermission() 263 localMode = (mode & (DAC_READ | DAC_WRITE | DAC_WATCH)) >> DAC_GROUP_START; in DacCheckParamPermission() 265 localMode = (mode & (DAC_READ | DAC_WRITE | DAC_WATCH)) >> DAC_OTHER_START; in DacCheckParamPermission()
|
D | param_selinux.c | 271 if (mode == DAC_WRITE) { in SelinuxCheckParamPermission()
|
/base/startup/init/services/param/include/ |
D | param_security.h | 38 #define DAC_WRITE 0x0080 // 2 macro
|
/base/startup/init/services/begetctl/ |
D | param_cmd.c | 143 if (mode & (DAC_WRITE >> shift)) { in GetPermissionString()
|
/base/startup/init/services/param/manager/ |
D | param_manager.c | 359 …t = CheckParamPermission(srcLabel, (serviceInfo == NULL) ? name : serviceInfo->realKey, DAC_WRITE); in CheckParameterSet()
|
/base/startup/init/services/param/base/ |
D | param_base.c | 90 op = DAC_WRITE; in RegisterSecurityOps()
|