函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:04:28 |
Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_write_domain - Write domain policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
函数原型:static int tomoyo_write_domain(struct tomoyo_io_buffer *head)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct tomoyo_io_buffer * | head |
1174 | data等于Buffer for writing. |
1178 | is_select等于非is_delete且tomoyo_str_starts( & data, "select ") |
1181 | 如果data恒等于'<'则 |
1182 | ret等于0 |
1184 | domain = NULL |
1185 | 如果is_delete则ret等于moyo_delete_domain - Delete a domain.*@domainname: The name of domain.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
1192 | 返回:ret |
1199 | 如果非External variable definitions. *********或 Profile table. Memory is allocated as needed. [idx]则如果非is_delete则 |
1201 | Profile number to use. 等于idx |
1202 | 返回:0 |
1210 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |