Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_conn_sid - Determine the child socket label for a connection*@sk_sid: the parent socket's SID*@skb_sid: the packet's SID*@conn_sid: the resulting connection SID* If @skb_sid is valid then the user:role:type information from @sk_sid is* combined

Proto:static int selinux_conn_sid(unsigned int sk_sid, unsigned int skb_sid, unsigned int *conn_sid)

Type:int

Parameter:

TypeParameterName
unsigned intsk_sid
unsigned intskb_sid
unsigned int *conn_sid
4463  err = 0
4465  If skb_sid != unspecified SID Then err = security_sid_mls_copy( & selinux_state, sk_sid, skb_sid, conn_sid)
4468  Else conn_sid = sk_sid
4471  Return err
Caller
NameDescribe
selinux_sctp_assoc_requestCalled 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