Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Is an LSM allowed to be initialized?

Proto:static bool __init lsm_allowed(struct lsm_info *lsm)

Type:bool

Parameter:

TypeParameterName
struct lsm_info *lsm
133  If Not is_enabled(lsm) Then Return false
137  If Optional: flags describing LSM & LSM_FLAG_EXCLUSIVE && exclusive Then
138  init_debug("exclusive disabled: %s\n", Required. )
139  Return false
142  Return true
Caller
NameDescribe
prepare_lsmPrepare LSM for initialization.