Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 18:59:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:selinux_conn_sid - Determine the child socket label for a connection*@sk_sid: the parent socket's SID*@skb_sid: the packet's SID*@conn_sid: the resulting connection SID* If @skb_sid is valid then the user:role:type information from @sk_sid is* combined
Proto:static int selinux_conn_sid(unsigned int sk_sid, unsigned int skb_sid, unsigned int *conn_sid)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | sk_sid | |
| unsigned int | skb_sid | |
| unsigned int * | conn_sid | 
| 4463 | err = 0 | 
| 4465 | If skb_sid != unspecified SID Then err = security_sid_mls_copy( & selinux_state, sk_sid, skb_sid, conn_sid) | 
| 4471 | Return err | 
| Name | Describe | 
|---|---|
| selinux_sctp_assoc_request | Called whenever SCTP receives an INIT chunk. This happens when an incoming* connect(2), sctp_connectx(3) or sctp_sendmsg(3) (with no association* already present). | 
| selinux_inet_conn_request | 
| 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  |