Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:22:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int smack_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct socket * | sock | |
struct sockaddr * | address | |
int | addrlen |
2811 | If addrlen < SIN6_LEN_RFC2133 || address family, AF_xxx != IP version 6 Then Return -EINVAL |
2816 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |