函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Put the kernel into lock-down mode.

函数原型:static int lock_kernel_down(const char *where, enum lockdown_reason level)

返回类型:int

参数:

类型参数名称
const char *where
enum lockdown_reasonlevel
55  如果kernel_locked_down大于等于level则返回:负EPERM
58  kernel_locked_down等于level
59  打印注释信息("Kernel is locked down from %s; see man kernel_lockdown.7\n", where)
61  返回:0
调用者
名称描述
lockdown_param
lockdown_write