函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_do_config_change

函数原型:static int audit_do_config_change(char *function_name, unsigned int *to_change, unsigned int new)

返回类型:int

参数:

类型参数名称
char *function_name
unsigned int *to_change
unsigned intnew
401  rc等于0
402  old等于to_change
405  如果audit_enabled恒等于AUDIT_LOCKEDallow_changes等于0
407  否则allow_changes等于1
410  如果audit_enabled不等于AUDIT_OFF
411  rc等于audit_log_config_change(function_name, new, old, allow_changes)
412  如果rcallow_changes等于0
417  如果allow_changes恒等于1则to_change等于new
420  否则如果rc恒等于0则rc等于负EPERM
422  返回:rc
调用者
名称描述
audit_set_rate_limit
audit_set_backlog_limit
audit_set_backlog_wait_time
audit_set_enabled
audit_set_failure