函数逻辑报告 | 
Source Code:security\selinux\netlabel.c | 
Create Date:2022-07-27 20:46:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:selinux_netlbl_skbuff_getsid - Get the sid of a packet using NetLabel*@skb: the packet*@family: protocol family*@type: NetLabel labeling protocol type*@sid: the SID* Description:* Call the NetLabel mechanism to get the security attributes of the given*
函数原型:int selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, unsigned int *type, unsigned int *sid)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct sk_buff * | skb | |
| u16 | family | |
| unsigned int * | type | |
| unsigned int * | sid | 
| 197 | sid等于unspecified SID | 
| 198 | 返回:0 | 
| 202 | rc等于netlbl_skbuff_getattr(skb, family, & secattr) | 
| 206 | 否则sid等于unspecified SID | 
| 211 | 返回:rc | 
| 名称 | 描述 | 
|---|---|
| selinux_skb_peerlbl_sid | selinux_skb_peerlbl_sid - Determine the peer label of a packet*@skb: the packet*@family: protocol family*@sid: the packet's peer label SID* Description:* Check the various different forms of network peer labeling and determine* the peer label/SID for the | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |