函数逻辑报告 |
Source Code:security\tomoyo\condition.c |
Create Date:2022-07-27 21:06:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_envp - Check envp[] in "struct linux_binbrm".*@env_name: The name of environment variable.*@env_value: The value of environment variable.*@envc: Length of @envp.*@envp: Pointer to "struct tomoyo_envp".
函数原型:static bool tomoyo_envp(const char *env_name, const char *env_value, const int envc, const struct tomoyo_envp *envp, u8 *checked)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | env_name | |
| const char * | env_value | |
| const int | envc | |
| const struct tomoyo_envp * | envp | |
| u8 * | checked |
| 69 | tomoyo_fill_path_info( & name) |
| 71 | tomoyo_fill_path_info( & value) |
| 77 | checked等于1 |
| 78 | 如果value则 |
| 83 | 否则 |
| 88 | 如果非result则返回:false |
| 91 | 返回:true |
| 名称 | 描述 |
|---|---|
| tomoyo_scan_bprm | moyo_scan_bprm - Scan "struct linux_binprm".*@ee: Pointer to "struct tomoyo_execve".*@argc: Length of @argc.*@argv: Pointer to "struct tomoyo_argv".*@envc: Length of @envp.*@envp: Poiner to "struct tomoyo_envp".* Returns true on success, false otherwise. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |