函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:31:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_skb_peerlbl_sid - Determine the peer label of a packet*@skb: the packet*@family: protocol family*@sid: the packet's peer label SID* Description:* Check the various different forms of network peer labeling and determine* the peer label/SID for the
函数原型:static int selinux_skb_peerlbl_sid(struct sk_buff *skb, u16 family, unsigned int *sid)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sk_buff * | skb | |
u16 | family | |
unsigned int * | sid |
4430 | err等于selinux_xfrm_skb_sid(skb, & xfrm_sid) |
4431 | 如果此条件成立可能性小(为编译器优化)(err)则返回:负EACCES |
4434 | 如果此条件成立可能性小(为编译器优化)(err)则返回:负EACCES |
4437 | err等于security_net_peersid_resolve( & selinux_state, nlbl_sid, nlbl_type, xfrm_sid, sid) |
4439 | 如果此条件成立可能性小(为编译器优化)(err)则 |
4440 | 打印警告信息("SELinux: failure in selinux_skb_peerlbl_sid(), unable to determine packet's peer label\n") |
4443 | 返回:负EACCES |
4446 | 返回:0 |
名称 | 描述 |
---|---|
selinux_socket_sock_rcv_skb | |
selinux_socket_getpeersec_dgram | |
selinux_sctp_assoc_request | Called whenever SCTP receives an INIT chunk. This happens when an incoming* connect(2), sctp_connectx(3) or sctp_sendmsg(3) (with no association* already present). |
selinux_inet_conn_request | |
selinux_inet_conn_established |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |