Function report |
Source Code:security\tomoyo\condition.c |
Create Date:2022-07-28 19:38:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_parse_envp - Parse an envp[] condition part.*@left: Lefthand value.*@right: Righthand value.*@envp: Pointer to "struct tomoyo_envp".* Returns true on success, false otherwise.
Proto:static bool tomoyo_parse_envp(char *left, char *right, struct tomoyo_envp *envp)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | left | |
| char * | right | |
| struct tomoyo_envp * | envp |
| 327 | cp = '\0' |
| 328 | If Not tomoyo_correct_word(left) Then Go to out |
| 330 | name = tomoyo_get_name(left) |
| 334 | value = NULL |
| 335 | Else |
| 336 | value = moyo_get_dqword - tomoyo_get_name() for a quoted string.*@start: String to save.* Returns pointer to "struct tomoyo_path_info" on success, NULL otherwise. |
| 337 | If Not value Then |
| 344 | Return true |
| 345 | out : |
| 346 | Return false |
| Name | Describe |
|---|---|
| tomoyo_get_condition | moyo_get_condition - Parse condition part.*@param: Pointer to "struct tomoyo_acl_param".* Returns pointer to "struct tomoyo_condition" on success, NULL 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 |