Home
last modified time | relevance | path

Searched refs:DAC_RESULT_FORBIDED (Results 1 – 10 of 10) sorted by relevance

/base/startup/init/services/param/adapter/
Dparam_selinux.c173 …PARAM_CHECK(selinuxSpace->getParamList != NULL, return DAC_RESULT_FORBIDED, "Invalid getParamList"… in SelinuxGetAllLabel()
236 PARAM_CHECK(name != NULL && label != NULL, return DAC_RESULT_FORBIDED, "The label is null"); in CheckContentPermission()
237 int ret = DAC_RESULT_FORBIDED; in CheckContentPermission()
247 return DAC_RESULT_FORBIDED; in CheckContentPermission()
264 int ret = DAC_RESULT_FORBIDED; in SelinuxCheckParamPermission()
285 ret = DAC_RESULT_FORBIDED; in SelinuxCheckParamPermission()
Dparam_dac.c230 …PARAM_CHECK(node != NULL, return DAC_RESULT_FORBIDED, "Can not get security label %d", labelIndex); in CheckUserInGroup()
245 int ret = DAC_RESULT_FORBIDED; in DacCheckParamPermission()
249 PARAM_CHECK(space != NULL, return DAC_RESULT_FORBIDED, "Failed to get dac space %s", name); in DacCheckParamPermission()
252 …PARAM_CHECK(node != NULL, return DAC_RESULT_FORBIDED, "Can not get security label %d", labelIndex); in DacCheckParamPermission()
/base/startup/init/test/unittest/param/
Dclient_unittest.cpp115 SetTestPermissionResult(DAC_RESULT_FORBIDED); in TestPermission()
120 EXPECT_EQ(ret, DAC_RESULT_FORBIDED); in TestPermission()
142 SetTestPermissionResult(DAC_RESULT_FORBIDED); in TestPermission()
144 EXPECT_EQ(ret, DAC_RESULT_FORBIDED); in TestPermission()
Dwatcher_agent_unittest.cpp106 EXPECT_EQ(ret, DAC_RESULT_FORBIDED); in TestAddWatcher()
133 EXPECT_EQ(ret, DAC_RESULT_FORBIDED); in TestDelWatcher()
/base/startup/init/services/param/liteos/
Dparam_litedac.c62 return uid <= SYS_UID_INDEX ? DAC_RESULT_PERMISSION : DAC_RESULT_FORBIDED; in DacCheckParamPermission()
/base/startup/init/services/include/param/
Dinit_param.h54 DAC_RESULT_FORBIDED, enumerator
/base/startup/init/services/param/linux/
Dparam_request.c173 ret = DAC_RESULT_FORBIDED; in SystemSetParameter()
181 ret = DAC_RESULT_FORBIDED; in SystemSetParameter()
/base/startup/init/interfaces/innerkits/syspara/
Dparam_comm.c48 case DAC_RESULT_FORBIDED: in GetSystemError()
/base/startup/init/services/param/base/
Dparam_comm.c505 PARAM_CHECK(srcLabel != NULL, return DAC_RESULT_FORBIDED, "The srcLabel is null"); in CheckParamPermission()
507 PARAM_CHECK(paramSpace != NULL, return DAC_RESULT_FORBIDED, "Invalid workspace"); in CheckParamPermission()
527 if (ret == DAC_RESULT_FORBIDED) { in CheckParamPermission()
/base/startup/init/services/param/manager/
Dparam_manager.c245 …PARAM_CHECK(node != NULL, return DAC_RESULT_FORBIDED, "Can not get security label %d", labelIndex); in GetParamSecurityAuditData()