Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 19:00:18 | 
| 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_unix_stream_connect
Proto:static int selinux_socket_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct sock * | sock | |
| struct sock * | other | |
| struct sock * | newsk | 
| 4893 | sksec_sock = sk_security | 
| 4894 | sksec_other = sk_security | 
| 4895 | sksec_new = sk_security | 
| 4897 | struct lsm_network_audit net = {0, } | 
| 4900 | type = LSM_AUDIT_DATA_NET | 
| 4912 | SID of peer = SID of this object | 
| 4913 | err = security_sid_mls_copy( & selinux_state, SID of this object , SID of this object , & SID of this object ) | 
| 4919 | SID of peer = SID of this object | 
| 4921 | 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  |