Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:00:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_socket_accept
Proto:static int selinux_socket_accept(struct socket *sock, struct socket *newsock)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct socket * | sock | |
| struct socket * | newsock |
| 4827 | err = sock_has_perm(sk, SOCKET__ACCEPT) |
| 4831 | isec = inode_security_novalidate(SOCK_INODE(sock)) |
| 4834 | sid = SID of this object |
| 4835 | spin_unlock( & lock) |
| 4839 | SID of this object = sid |
| 4840 | initialization flag = initialized |
| 4842 | 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 |