Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Put the kernel into lock-down mode.

Proto:static int lock_kernel_down(const char *where, enum lockdown_reason level)

Type:int

Parameter:

TypeParameterName
const char *where
enum lockdown_reasonlevel
55  If kernel_locked_down >= level Then Return -EPERM
58  kernel_locked_down = level
59  pr_notice("Kernel is locked down from %s; see man kernel_lockdown.7\n", where)
61  Return 0
Caller
NameDescribe
lockdown_param
lockdown_write