函数逻辑报告 |
Source Code:security\tomoyo\group.c |
Create Date:2022-07-27 21:12:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_write_group - Write "struct tomoyo_path_group"/"struct tomoyo_number_group"/"struct tomoyo_address_group" list.*@param: Pointer to "struct tomoyo_acl_param".*@type: Type of this group.* Returns 0 on success, negative value otherwise.
函数原型:int tomoyo_write_group(struct tomoyo_acl_param *param, const u8 type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tomoyo_acl_param * | param | |
| const u8 | type |
| 81 | list等于member_list |
| 82 | 如果type恒等于TOMOYO_PATH_GROUP则 |
| 83 | struct tomoyo_path_group e = {} |
| 86 | 如果非member_name则 |
| 93 | 否则如果type恒等于TOMOYO_NUMBER_GROUP则 |
| 94 | struct tomoyo_number_group e = {} |
| 96 | 如果data[0]恒等于'@'或非tomoyo_parse_number_union(param, & number)则转到:out |
| 105 | 否则 |
| 106 | struct tomoyo_address_group e = {} |
| 108 | 如果data[0]恒等于'@'或非tomoyo_parse_ipaddr_union(param, & Structure for holding an IP address. )则转到:out |
| 114 | out : |
| 116 | 返回:error |
| 名称 | 描述 |
|---|---|
| tomoyo_write_exception | moyo_write_exception - Write exception policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |