Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_socket_sendmsg - Check permission for sendmsg().*@sock: Pointer to "struct socket".*@msg: Pointer to "struct msghdr".*@size: Size of message.* Returns 0 on success, negative value otherwise.

Proto:static int tomoyo_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size)

Type:int

Parameter:

TypeParameterName
struct socket *sock
struct msghdr *msg
intsize
486  Return moyo_socket_sendmsg_permission - Check permission for sending a datagram.*@sock: Pointer to "struct socket".*@msg: Pointer to "struct msghdr".*@size: Unused.* Returns 0 on success, negative value otherwise.