Function report | 
Source Code:security\selinux\xfrm.c | 
Create Date:2022-07-28 19:16:35 | 
| 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 implementation that authorizes that a flow can use a xfrm policy* rule.
Proto:int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, unsigned int fl_secid, u8 dir)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct xfrm_sec_ctx * | ctx | |
| unsigned int | fl_secid | |
| u8 | dir | 
| 159 | If Not ctx Then Return 0 | 
| 163 | If Not Returns true if the context is an LSM/SELinux context. Then Return -EINVAL | 
| 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  |