Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_enabled

Proto:static void __init set_enabled(struct lsm_info *lsm, bool enabled)

Type:void

Parameter:

TypeParameterName
struct lsm_info *lsm
boolenabled
81  If Not Optional: controlled by CONFIG_LSM Then
82  If enabled Then Optional: controlled by CONFIG_LSM = Mark an LSM's enabled flag.
84  Else Optional: controlled by CONFIG_LSM = lsm_enabled_false
86  Else if Optional: controlled by CONFIG_LSM == Mark an LSM's enabled flag. Then
87  If Not enabled Then Optional: controlled by CONFIG_LSM = lsm_enabled_false
89  Else if Optional: controlled by CONFIG_LSM == lsm_enabled_false Then
90  If enabled Then Optional: controlled by CONFIG_LSM = Mark an LSM's enabled flag.
92  Else
93  Optional: controlled by CONFIG_LSM = enabled
Caller
NameDescribe
prepare_lsmPrepare LSM for initialization.
ordered_lsm_parsePopulate ordered LSMs list from comma-separated LSM name list.