Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\xfrm.c Create Date:2022-07-28 19:16:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Free the xfrm_sec_ctx structure.

Proto:static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx)

Type:void

Parameter:

TypeParameterName
struct xfrm_sec_ctx *ctx
126  If Not ctx Then Return
129  atomic_dec( & Labeled XFRM instance counter )
130  kfree(ctx)
Caller
NameDescribe
selinux_xfrm_policy_freeLSM hook implementation that frees xfrm_sec_ctx security information.
selinux_xfrm_state_freeLSM hook implementation that frees xfrm_state security information.