Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 19:01:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_inet_conn_established

Proto:static void selinux_inet_conn_established(struct sock *sk, struct sk_buff *skb)

Type:void

Parameter:

TypeParameterName
struct sock *sk
struct sk_buff *skb
5409  family = sk_family
5410  sksec = sk_security
5413  If family == PF_INET6 && protocol == htons(Internet Protocol packet ) Then family = PF_INET
5416  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