Function report |
Source Code:security\tomoyo\environ.c |
Create Date:2022-07-28 19:40:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_write_env - Write "struct tomoyo_env_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
Proto:static int tomoyo_write_env(struct tomoyo_acl_param *param)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tomoyo_acl_param * | param |
96 | struct tomoyo_env_acl e = { One of values in "enum tomoyo_acl_entry_type_index". = TOMOYO_TYPE_ENV_ACL} |
98 | data = tomoyo_read_token(param) |
100 | If Not tomoyo_correct_word(data) || strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for Then Return -EINVAL |
103 | If Not vironment variable Then Return error |
108 | Return error |
Name | Describe |
---|---|
tomoyo_write_misc | moyo_write_misc - Update environment variable list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value 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 |