函数逻辑报告 |
Source Code:security\tomoyo\network.c |
Create Date:2022-07-27 21:14:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_inet_entry - Check permission for INET network operation.*@address: Pointer to "struct tomoyo_addr_info".* Returns 0 on success, negative value otherwise.
函数原型:static int tomoyo_inet_entry(const struct tomoyo_addr_info *address)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct tomoyo_addr_info * | address |
469 | idx等于moyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock(). |
471 | error等于0 |
472 | type等于Mapping table from "enum tomoyo_network_acl_index" to* "enum tomoyo_mac_index" for inet domain socket.[protocol][operation] |
474 | 如果type且tomoyo_init_request_info( & r, NULL, type)不等于TOMOYO_CONFIG_DISABLED则 |
488 | 返回:error |
名称 | 描述 |
---|---|
tomoyo_check_inet_address | moyo_check_inet_address - Check permission for inet domain socket's operation.*@addr: Pointer to "struct sockaddr".*@addr_len: Size of @addr.*@port: Port number.*@address: Pointer to "struct tomoyo_addr_info". |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |