函数逻辑报告 |
Source Code:security\tomoyo\network.c |
Create Date:2022-07-27 21:14:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:int tomoyo_socket_sendmsg_permission(struct socket *sock, struct msghdr *msg, int size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct socket * | sock | |
struct msghdr * | msg | |
int | size |
762 | family等于moyo_sock_family - Get socket's family.*@sk: Pointer to "struct sock".* Returns one of PF_INET, PF_INET6, PF_UNIX or 0. |
765 | 如果非ptr to socket address structure 或非family或type不等于SOCK_DGRAM且type不等于SOCK_RAW则返回:0 |
名称 | 描述 |
---|---|
tomoyo_socket_sendmsg | 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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |