函数逻辑报告 | 
Source Code:security\smack\smack_lsm.c | 
Create Date:2022-07-27 20:53:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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.
函数原型:static void smack_inet_csk_clone(struct sock *sk, const struct request_sock *req)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct sock * | sk | |
| const struct request_sock * | req | 
| 4185 | ssp等于sk_security | 
| 4188 | 如果peer_secid不等于0则 | 
| 4189 | skp等于smack_from_secid(peer_secid) | 
| 4190 | TCP peer label 等于skp | 
| 4191 | 否则 TCP peer label = NULL | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |