函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:51:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_ipv4host_label - check host based restrictions*@sip: the object end* looks for host based access restrictions* This version will only be appropriate for really small sets of single label* hosts
函数原型:static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip)
返回类型:struct smack_known
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sockaddr_in * | sip |
2310 | siap等于 Internet address |
2312 | 如果s_addr恒等于0则返回:NULL |
2315 | 遍历RCU(snp, & smk_net4addr_list, list) |
2325 | 返回:NULL |
名称 | 描述 |
---|---|
smack_netlabel_send | smack_netlbel_send - Set the secattr on a socket and perform access checks*@sk: the socket*@sap: the destination address* Set the correct secattr for the given socket based on the destination* address and perform any outbound access checks needed. |
smack_inet_conn_request | smack_inet_conn_request - Smack access check on connect*@sk: socket involved*@skb: packet*@req: unused* Returns 0 if a task with the packet label could write to* the socket, otherwise an error code |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |