Function report |
Source Code:security\selinux\xfrm.c |
Create Date:2022-07-28 19:16:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Authorize the deletion of a labeled SA or policy rule.
Proto:static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xfrm_sec_ctx * | ctx |
| 138 | tsec = selinux_cred(current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()) |
| 140 | If Not ctx Then Return 0 |
| Name | Describe |
|---|---|
| selinux_xfrm_policy_delete | LSM hook implementation that authorizes deletion of labeled policies. |
| selinux_xfrm_state_delete | LSM hook implementation that authorizes deletion of labeled SAs. |
| 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 |