函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Process kernel command-line parameter at boot time.* audit={0|off} or audit={1|on}.

函数原型:static int __init audit_enable(char *str)

返回类型:int

参数:

类型参数名称
char *str
1622  如果非strcasecmp(str, "off")或非字符串比较Default state when kernel boots without any parameters. 等于AUDIT_OFF
1624  否则如果非strcasecmp(str, "on")或非字符串比较Default state when kernel boots without any parameters. 等于AUDIT_ON
1626  否则
1627  打印错误信息("audit: invalid 'audit' parameter value (%s)\n", str)
1628  Default state when kernel boots without any parameters. 等于AUDIT_ON
1631  如果Default state when kernel boots without any parameters. 恒等于AUDIT_OFFaudit_initialized等于不审计
1633  如果audit_set_enabled(Default state when kernel boots without any parameters. )则打印错误信息("audit: error setting audit state (%d)\n", Default state when kernel boots without any parameters. )
1637  打印信息("%s\n", Default state when kernel boots without any parameters. ? "enabled (after initialization)" : "disabled (until reboot)")
1640  返回:1