Home
last modified time | relevance | path

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

/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.cpp88 EXPECT_EQ(ret, DAC_RESULT_FORBIDED); in TestAddWatcher0()
154 EXPECT_EQ(ret, DAC_RESULT_FORBIDED); in TestDelWatcher()
/base/startup/init/services/param/base/
Dparam_base.c352 return DAC_RESULT_FORBIDED, "Invalid workSpace for %s", name); in ReadParamWithCheck()
355 …PARAM_CHECK(labelIndex.workspace != NULL, return DAC_RESULT_FORBIDED, "Invalid workSpace for %s", … in ReadParamWithCheck()
389 return DAC_RESULT_FORBIDED; in DacCheckGroupPermission()
403 return DAC_RESULT_FORBIDED; in DacCheckGroupPermission()
417 …PARAM_CHECK(node != NULL, return DAC_RESULT_FORBIDED, "Can not get security label %u selinuxLabelI… in DacCheckParamPermission()
450 int ret = DAC_RESULT_FORBIDED; in DacCheckParamPermission()
474 int ret = DAC_RESULT_FORBIDED; in SelinuxCheckParamPermission()
494 ret = DAC_RESULT_FORBIDED; in SelinuxCheckParamPermission()
518 if (ret == DAC_RESULT_FORBIDED) { in CheckParamPermission_()
/base/startup/init/interfaces/innerkits/service_watcher/
Dservice_watcher.c65 if (ret == DAC_RESULT_FORBIDED) { in ServiceWatchForStatus()
/base/startup/init/services/param/liteos/
Dparam_litedac.c64 return uid <= SYS_UID_INDEX ? DAC_RESULT_PERMISSION : DAC_RESULT_FORBIDED; in LiteDacCheckParamPermission()
/base/startup/init/services/include/param/
Dinit_param.h54 DAC_RESULT_FORBIDED, enumerator
/base/startup/init/interfaces/innerkits/syspara/
Dparam_comm.c41 case DAC_RESULT_FORBIDED: in GetSystemError()
/base/startup/init/services/param/linux/
Dparam_request.c187 ret = DAC_RESULT_FORBIDED; in SystemSetParameter_()
195 ret = DAC_RESULT_FORBIDED; in SystemSetParameter_()
/base/startup/init/services/param/manager/
Dparam_manager.c252 …PARAM_CHECK(node != NULL, return DAC_RESULT_FORBIDED, "Can not get security label %d", labelIndex); in GetParamSecurityAuditData()
640 PARAM_CHECK(srcLabel != NULL, return DAC_RESULT_FORBIDED, "The srcLabel is null"); in CheckParamPermission_()
642 …PARAM_CHECK(paramSpace->checkParamPermission != NULL, return DAC_RESULT_FORBIDED, "Invalid check p… in CheckParamPermission_()
647 …PARAM_CHECK(labelIndex.workspace != NULL, return DAC_RESULT_FORBIDED, "Invalid workSpace for %s", … in CheckParamPermission_()
/base/startup/init/services/param/adapter/
Dparam_selinux.c190 …PARAM_CHECK(selinuxSpace->getParamList != NULL, return DAC_RESULT_FORBIDED, "Invalid getParamList"… in SelinuxGetAllLabel()