Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:LSM hook implementation that allocs and transfers uctx spec to xfrm_policy.

Proto:int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, struct xfrm_user_sec_ctx *uctx, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct xfrm_sec_ctx **ctxp
struct xfrm_user_sec_ctx *uctx
gfp_tgfp
288  Return Allocates a xfrm_sec_state and populates it using the supplied security* xfrm_user_sec_ctx context.