函数逻辑报告 | 
Source Code:security\tomoyo\environ.c | 
Create Date:2022-07-27 21:09:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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().
函数原型:static int tomoyo_write_env(struct tomoyo_acl_param *param)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| 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 | 如果非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则返回:负EINVAL | 
| 103 | 如果非vironment variable 则返回:error | 
| 108 | 返回:error | 
| 名称 | 描述 | 
|---|---|
| tomoyo_write_misc | moyo_write_misc - Update environment variable list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |