Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_socket_listen - Check permission for listen().*@sock: Pointer to "struct socket".*@backlog: Backlog parameter.* Returns 0 on success, negative value otherwise.

Proto:static int tomoyo_socket_listen(struct socket *sock, int backlog)

Type:int

Parameter:

TypeParameterName
struct socket *sock
intbacklog
441  Return moyo_socket_listen_permission - Check permission for listening a socket.*@sock: Pointer to "struct socket".* Returns 0 on success, negative value otherwise.