Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true if the context is an LSM/SELinux context.

Proto:static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx)

Type:int

Parameter:

TypeParameterName
struct xfrm_sec_ctx *ctx
57  Return ctx && ctx_doi == XFRM_SC_DOI_LSM && ctx_alg == XFRM_SC_ALG_SELINUX
Caller
NameDescribe
selinux_authorizable_xfrmReturns true if the xfrm contains a security blob for SELinux.
selinux_xfrm_policy_lookupLSM hook implementation that authorizes that a flow can use a xfrm policy* rule.