函数逻辑报告 |
Source Code:security\selinux\xfrm.c |
Create Date:2022-07-27 20:46:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_xfrm_skb_sid_ingress
函数原型:static int selinux_xfrm_skb_sid_ingress(struct sk_buff *skb, unsigned int *sid, int ckall)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct sk_buff * | skb | |
| unsigned int * | sid | |
| int | ckall |
| 230 | sp等于skb_sec_path(skb) |
| 232 | 如果sp则 |
| 238 | ctx等于Security context |
| 240 | 如果sid_session恒等于unspecified SID 则 |
| 241 | sid_session等于ctx_sid |
| 244 | 否则如果sid_session不等于ctx_sid则 |
| 245 | sid等于unspecified SID |
| 246 | 返回:负EINVAL |
| 252 | out : |
| 253 | sid等于sid_session |
| 254 | 返回:0 |
| 名称 | 描述 |
|---|---|
| selinux_xfrm_decode_session | LSM hook implementation that checks and/or returns the xfrm sid for the* incoming packet. |
| selinux_xfrm_skb_sid |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |