| Function report | 
| Source Code: security\apparmor\lsm.c | Create Date:2022-07-28 19:53:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:apparmor_sock_graft - Initialize newly created socket*@sk: child sock*@parent: parent socket* Note: could set off of SOCK_CTX(parent) but need to track inode and we can* just set sk security information off of current creating process label* Labeling of
Proto:static void apparmor_sock_graft(struct sock *sk, struct socket *parent)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct sock * | sk | |
| struct socket * | parent | 
| 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 |