Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:24:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_inet_csk_clone - Copy the connection information to the new socket*@sk: the new socket*@req: the connection's request_sock* Transfer the connection's peer label to the newly created socket.
Proto:static void smack_inet_csk_clone(struct sock *sk, const struct request_sock *req)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sock * | sk | |
const struct request_sock * | req |
4185 | ssp = sk_security |
4188 | If peer_secid != 0 Then |
4189 | skp = smack_from_secid(peer_secid) |
4190 | TCP peer label = skp |
4191 | Else TCP peer label = NULL |
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 |