Function report |
Source Code:security\tomoyo\condition.c |
Create Date:2022-07-28 19:37:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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".
Proto:static bool tomoyo_envp(const char *env_name, const char *env_value, const int envc, const struct tomoyo_envp *envp, u8 *checked)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If value Then |
| 83 | Else |
| 88 | If Not result Then Return false |
| 91 | Return true |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |