Searched refs:ParamSecurityLabel (Results 1 – 12 of 12) sorted by relevance
/base/startup/init/services/param/include/ |
D | param_security.h | 69 } ParamSecurityLabel; typedef 89 int (*securityInitLabel)(ParamSecurityLabel *label, int isInit); 91 …int (*securityCheckFilePermission)(const ParamSecurityLabel *label, const char *fileName, int flag… 92 …int (*securityCheckParamPermission)(const ParamSecurityLabel *srcLabel, const char *name, uint32_t… 93 int (*securityFreeLabel)(ParamSecurityLabel *srcLabel);
|
D | param_manager.h | 56 ParamSecurityLabel securityLabel; 110 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel(void); 122 const ParamSecurityLabel *srcLabel, int *ctrlService); 124 INIT_LOCAL_API int CheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint3…
|
/base/startup/init/services/param/liteos/ |
D | param_litedac.c | 19 static int InitLocalSecurityLabel(ParamSecurityLabel *security, int isInit) in InitLocalSecurityLabel() 36 static int FreeLocalSecurityLabel(ParamSecurityLabel *srcLabel) in FreeLocalSecurityLabel() 48 static int CheckFilePermission(const ParamSecurityLabel *localLabel, const char *fileName, int flag… in CheckFilePermission() 55 static int DacCheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint32_t m… in DacCheckParamPermission()
|
/base/startup/init/test/unittest/param/ |
D | selinux_unittest.cpp | 47 ParamSecurityLabel label = {}; in TestSelinuxInitLocalLabel() 62 ParamSecurityLabel label = {}; in TestSelinuxCheckFilePermission() 79 ParamSecurityLabel srclabel = {}; in TestSelinuxCheckParaPermission() 98 ParamSecurityLabel label = {}; in TestClientSelinuxCheckFilePermission() 116 ParamSecurityLabel srclabel = {}; in TestClientSelinuxCheckParaPermissionWrite() 133 ParamSecurityLabel srclabel = {}; in TestClientSelinuxCheckParaPermissionRead()
|
D | param_stub.h | 56 int TestCheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint32_t mode); 57 int TestFreeLocalSecurityLabel(ParamSecurityLabel *srcLabel);
|
D | dac_unittest.cpp | 44 ParamSecurityLabel label = {}; in TestDacInitLocalLabel() 59 ParamSecurityLabel label = {}; in TestDacCheckFilePermission() 82 ParamSecurityLabel srclabel = {}; in TestDacCheckParaPermission() 101 ParamSecurityLabel label = {}; in TestClientDacCheckFilePermission()
|
D | param_stub.cpp | 435 int TestCheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint32_t mode) in TestCheckParamPermission() 441 int TestFreeLocalSecurityLabel(ParamSecurityLabel *srcLabel) in TestFreeLocalSecurityLabel()
|
/base/startup/init/services/param/adapter/ |
D | param_selinux.c | 83 static int InitLocalSecurityLabel(ParamSecurityLabel *security, int isInit) in InitLocalSecurityLabel() 111 static int FreeLocalSecurityLabel(ParamSecurityLabel *srcLabel) in FreeLocalSecurityLabel() 216 static int CheckFilePermission(const ParamSecurityLabel *localLabel, const char *fileName, int flag… in CheckFilePermission() 261 static int SelinuxCheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint32… in SelinuxCheckParamPermission() 292 static int UpdaterCheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint32… in UpdaterCheckParamPermission()
|
D | param_dac.c | 108 static int InitLocalSecurityLabel(ParamSecurityLabel *security, int isInit) in InitLocalSecurityLabel() 120 static int FreeLocalSecurityLabel(ParamSecurityLabel *srcLabel) in FreeLocalSecurityLabel() 215 static int CheckFilePermission(const ParamSecurityLabel *localLabel, const char *fileName, int flag… in CheckFilePermission() 238 static int DacCheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint32_t m… in DacCheckParamPermission()
|
/base/startup/init/services/param/linux/ |
D | param_service.c | 141 static int SystemSetParam(const char *name, const char *value, const ParamSecurityLabel *srcLabel) in SystemSetParam() 164 ParamSecurityLabel srcLabel = {0}; in HandleParamSet()
|
/base/startup/init/services/param/base/ |
D | param_comm.c | 396 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel() in GetParamSecurityLabel() 503 INIT_LOCAL_API int CheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint3… in CheckParamPermission()
|
/base/startup/init/services/param/manager/ |
D | param_manager.c | 344 const char *value, const ParamSecurityLabel *srcLabel, int *ctrlService) in CheckParameterSet()
|