函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\ip.h Create Date:2022-07-27 07:39:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:inet_port_requires_bind_service

函数原型:static inline bool inet_port_requires_bind_service(struct net *net, unsigned short port)

返回类型:bool

参数:

类型参数名称
struct net *net
unsigned shortport
356  返回:port小于sysctl_ip_prot_sock
调用者
名称描述
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.