Searched refs:GetParamSecurityLabel (Results 1 – 10 of 10) sorted by relevance
/base/startup/init/test/unittest/param/ |
D | client_unittest.cpp | 116 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()
|
D | watcher_agent_unittest.cpp | 54 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()
|
D | paramservice_unittest.cpp | 60 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()
|
D | param_unittest.cpp | 83 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/ |
D | param_client.c | 62 int ret = CheckParameterSet(name, value, GetParamSecurityLabel(), &ctrlService); in SystemSetParameter()
|
D | param_service.c | 105 int ret = CheckParameterSet(name, value, GetParamSecurityLabel(), &ctrlService); in SystemWriteParam()
|
/base/startup/init/services/param/include/ |
D | param_manager.h | 110 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel(void);
|
/base/startup/init/services/param/base/ |
D | param_comm.c | 139 int ret = CheckParamPermission(GetParamSecurityLabel(), name, op); in ReadParamWithCheck() 396 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel() in GetParamSecurityLabel() function
|
D | param_base.c | 383 int ret = CheckParamPermission(GetParamSecurityLabel(), name, DAC_READ); in CachedParameterCreate()
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 438 return SystemSetParam(name, value, GetParamSecurityLabel()); in SystemWriteParam()
|