Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Supports connect(2), see comments in selinux_socket_connect_helper()

Proto:static int selinux_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen)

Type:int

Parameter:

TypeParameterName
struct socket *sock
struct sockaddr *address
intaddrlen
4805  sk = sk
4807  err = This supports connect(2) and SCTP connect services such as sctp_connectx(3)* and sctp_sendmsg(3) as described in Documentation/security/SCTP.rst
4808  If err Then Return err
4811  Return selinux_netlbl_socket_connect(sk, address)