函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_enabled

函数原型:static void __init set_enabled(struct lsm_info *lsm, bool enabled)

返回类型:void

参数:

类型参数名称
struct lsm_info *lsm
boolenabled
81  如果非 Optional: controlled by CONFIG_LSM
82  如果enabled Optional: controlled by CONFIG_LSM 等于Mark an LSM's enabled flag.
84  否则 Optional: controlled by CONFIG_LSM 等于lsm_enabled_false
86  否则如果 Optional: controlled by CONFIG_LSM 恒等于Mark an LSM's enabled flag.
87  如果非enabled Optional: controlled by CONFIG_LSM 等于lsm_enabled_false
89  否则如果 Optional: controlled by CONFIG_LSM 恒等于lsm_enabled_false
90  如果enabled Optional: controlled by CONFIG_LSM 等于Mark an LSM's enabled flag.
92  否则
93  Optional: controlled by CONFIG_LSM 等于enabled
调用者
名称描述
prepare_lsmPrepare LSM for initialization.
ordered_lsm_parsePopulate ordered LSMs list from comma-separated LSM name list.