函数逻辑报告 |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-27 20:47:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_netlbl_sctp_assoc_request - Label an incoming sctp association.*@ep: incoming association endpoint.*@skb: the packet.* Description:* A new incoming connection is represented by @ep, ......* Returns zero on success, negative values on failure.
函数原型:int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sctp_endpoint * | ep | |
struct sk_buff * | skb |
276 | sksec等于sk_security |
287 | 如果rc不等于0则转到:assoc_request_return |
293 | 如果version恒等于4则 |
296 | rc等于netlbl_conn_setattr( What socket does this endpoint belong to? , (void * ) & addr4, & secattr) |
298 | AF_INET6 等于IP version 6 |
299 | IPv6 address 等于saddr |
300 | rc等于netlbl_conn_setattr( What socket does this endpoint belong to? , (void * ) & addr6, & secattr) |
301 | 否则 |
302 | rc等于负EAFNOSUPPORT |
305 | 如果rc恒等于0则nlbl_state等于NLBL_LABELED |
308 | assoc_request_return : |
310 | 返回:rc |
名称 | 描述 |
---|---|
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). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |