Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Process kernel command-line parameter at boot time.* audit={0|off} or audit={1|on}.
Proto:static int __init audit_enable(char *str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | str |
1622 | If Not strcasecmp(str, "off") || Not strcmp(str, "0") Then Default state when kernel boots without any parameters. = AUDIT_OFF |
1624 | Else if Not strcasecmp(str, "on") || Not strcmp(str, "1") Then Default state when kernel boots without any parameters. = AUDIT_ON |
1626 | Else |
1631 | If Default state when kernel boots without any parameters. == AUDIT_OFF Then audit_initialized = Do not create per-task audit_context.* No syscall-specific audit records can* be generated. |
1633 | If audit_set_enabled(Default state when kernel boots without any parameters. ) Then pr_err("audit: error setting audit state (%d)\n", Default state when kernel boots without any parameters. ) |
1637 | pr_info("%s\n", Default state when kernel boots without any parameters. ? "enabled (after initialization)" : "disabled (until reboot)") |
1640 | Return 1 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |