Function report |
Source Code:security\tomoyo\network.c |
Create Date:2022-07-28 19:45:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_socket_listen_permission - Check permission for listening a socket.*@sock: Pointer to "struct socket".* Returns 0 on success, negative value otherwise.
Proto:int tomoyo_socket_listen_permission(struct socket *sock)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct socket * | sock |
653 | family = moyo_sock_family - Get socket's family.*@sk: Pointer to "struct sock".* Returns one of PF_INET, PF_INET6, PF_UNIX or 0. |
658 | If Not family || type != SOCK_STREAM && type != SOCK_SEQPACKET Then Return 0 |
669 | operation = listen() operation. |
Name | Describe |
---|---|
tomoyo_socket_listen | moyo_socket_listen - Check permission for listen().*@sock: Pointer to "struct socket".*@backlog: Backlog parameter.* Returns 0 on success, negative value otherwise. |
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 |