函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\xfrm.c Create Date:2022-07-27 20:46:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:LSM hook implementation that allocs and transfers uctx spec to xfrm_policy.

函数原型:int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, struct xfrm_user_sec_ctx *uctx, gfp_t gfp)

返回类型:int

参数:

类型参数名称
struct xfrm_sec_ctx **ctxp
struct xfrm_user_sec_ctx *uctx
gfp_tgfp
288  返回:Allocates a xfrm_sec_state and populates it using the supplied security* xfrm_user_sec_ctx context.