Home
last modified time | relevance | path

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

/base/startup/init/test/unittest/param/
Ddac_unittest.cpp62 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);
Dselinux_unittest.cpp65 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/
Dparam_dac.c259 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()
Dparam_selinux.c271 if (mode == DAC_WRITE) { in SelinuxCheckParamPermission()
/base/startup/init/services/param/include/
Dparam_security.h38 #define DAC_WRITE 0x0080 // 2 macro
/base/startup/init/services/begetctl/
Dparam_cmd.c143 if (mode & (DAC_WRITE >> shift)) { in GetPermissionString()
/base/startup/init/services/param/manager/
Dparam_manager.c359 …t = CheckParamPermission(srcLabel, (serviceInfo == NULL) ? name : serviceInfo->realKey, DAC_WRITE); in CheckParameterSet()
/base/startup/init/services/param/base/
Dparam_base.c90 op = DAC_WRITE; in RegisterSecurityOps()