Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:00:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_sock_graft
Proto:static void selinux_sock_graft(struct sock *sk, struct socket *parent)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sock * | sk | |
| struct socket * | parent |
| 5186 | isec = inode_security_novalidate(SOCK_INODE(parent)) |
| 5188 | sksec = sk_security |
| 5190 | If sk_family == PF_INET || sk_family == PF_INET6 || sk_family == PF_UNIX Then SID of this object = SID of this object |
| 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 |