Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\ip.h Create Date:2022-07-28 06:42:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inet_port_requires_bind_service

Proto:static inline bool inet_port_requires_bind_service(struct net *net, unsigned short port)

Type:bool

Parameter:

TypeParameterName
struct net *net
unsigned shortport
356  Return port < sysctl_ip_prot_sock
Caller
NameDescribe
selinux_socket_bindRange of port numbers used to automatically bind.Need to determine whether we should perform a name_bindpermission check between the socket and the port number.