Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-28 11:22:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:audit_do_config_change

Proto:static int audit_do_config_change(char *function_name, unsigned int *to_change, unsigned int new)

Type:int

Parameter:

TypeParameterName
char *function_name
unsigned int *to_change
unsigned intnew
401  rc = 0
402  old = to_change
405  If audit_enabled == AUDIT_LOCKED Then allow_changes = 0
407  Else allow_changes = 1
410  If audit_enabled != AUDIT_OFF Then
411  rc = audit_log_config_change(function_name, new, old, allow_changes)
412  If rc Then allow_changes = 0
417  If allow_changes == 1 Then to_change = new
420  Else if rc == 0 Then rc = -EPERM
422  Return rc
Caller
NameDescribe
audit_set_rate_limit
audit_set_backlog_limit
audit_set_backlog_wait_time
audit_set_enabled
audit_set_failure