函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:51:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_socket_bind - record port binding information.*@sock: the socket*@address: the port address*@addrlen: size of the address* Records the label bound to a port.* Returns 0 on success, and error code otherwise
函数原型:static int smack_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct socket * | sock | |
struct sockaddr * | address | |
int | addrlen |
2811 | 如果addrlen小于SIN6_LEN_RFC2133或address family, AF_xxx 不等于IP version 6 则返回:负EINVAL |
2816 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |