Function report | 
Source Code:security\selinux\xfrm.c | 
Create Date:2022-07-28 19:16:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:LSM hook that controls access to unlabelled packets. If* a xfrm_state is authorizable (defined by macro) then it was* already authorized by the IPSec process. If not, then* we need to check for unlabelled access since this may not have
Proto:int selinux_xfrm_sock_rcv_skb(unsigned int sk_sid, struct sk_buff *skb, struct common_audit_data *ad)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | sk_sid | |
| struct sk_buff * | skb | |
| struct common_audit_data * | ad | 
| 408 | sp = skb_sec_path(skb) | 
| 409 | peer_sid = SECINITSID_UNLABELED | 
| 411 | If sp Then | 
| 415 | If x && Returns true if the xfrm contains a security blob for SELinux. Then | 
| Name | Describe | 
|---|---|
| selinux_sock_rcv_skb_compat | 
| 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  |