Home
last modified time | relevance | path

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

/base/startup/init/test/unittest/param/
Dclient_unittest.cpp116 if ((GetParamSecurityLabel() != nullptr)) { in TestPermission()
117 GetParamSecurityLabel()->flags[0] = LABEL_CHECK_IN_ALL_PROCESS; in TestPermission()
180 if (GetParamSecurityLabel() != nullptr) { in SetUp()
181 GetParamSecurityLabel()->cred.uid = 1000; // 1000 test uid in SetUp()
182 GetParamSecurityLabel()->cred.gid = 1000; // 1000 test gid in SetUp()
Dwatcher_agent_unittest.cpp54 if (GetParamSecurityLabel() != nullptr) { in SetUp()
55 GetParamSecurityLabel()->cred.uid = 1000; // 1000 test uid in SetUp()
56 GetParamSecurityLabel()->cred.gid = 1000; // 1000 test gid in SetUp()
Dparamservice_unittest.cpp60 if (GetParamSecurityLabel() != nullptr) { in SetUp()
61 GetParamSecurityLabel()->cred.uid = 1000; // 1000 test uid in SetUp()
62 GetParamSecurityLabel()->cred.gid = 1000; // 1000 test gid in SetUp()
87 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel1()
107 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel2()
132 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel3()
165 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel4()
Dparam_unittest.cpp83 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel1()
103 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel2()
128 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel3()
161 GetParamSecurityLabel()->cred.gid = 9999; // 9999 test gid in TestAddSecurityLabel4()
/base/startup/init/services/param/liteos/
Dparam_client.c62 int ret = CheckParameterSet(name, value, GetParamSecurityLabel(), &ctrlService); in SystemSetParameter()
Dparam_service.c105 int ret = CheckParameterSet(name, value, GetParamSecurityLabel(), &ctrlService); in SystemWriteParam()
/base/startup/init/services/param/include/
Dparam_manager.h110 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel(void);
/base/startup/init/services/param/base/
Dparam_comm.c139 int ret = CheckParamPermission(GetParamSecurityLabel(), name, op); in ReadParamWithCheck()
396 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel() in GetParamSecurityLabel() function
Dparam_base.c383 int ret = CheckParamPermission(GetParamSecurityLabel(), name, DAC_READ); in CachedParameterCreate()
/base/startup/init/services/param/linux/
Dparam_service.c438 return SystemSetParam(name, value, GetParamSecurityLabel()); in SystemWriteParam()