Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_log_config_change

Proto:static int audit_log_config_change(char *function_name, unsigned int new, unsigned int old, int allow_changes)

Type:int

Parameter:

TypeParameterName
char *function_name
unsigned intnew
unsigned intold
intallow_changes
384  rc = 0
386  ab = audit_log_start - obtain an audit buffer*@ctx: audit_context (may be NULL)*@gfp_mask: type of allocation*@type: audit message type* Returns audit_buffer pointer on success or NULL on error
387  If Value for the false possibility is greater at compile time(!ab) Then Return rc
389  audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat.
390  audit_log_session_info(ab)
391  rc = audit_log_task_context(ab)
392  If rc Then allow_changes = 0
394  audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat.
395  audit_log_end - end one audit record*@ab: the audit_buffer* We can not do a netlink send inside an irq context because it blocks (last* arg, flags, is not set to MSG_DONTWAIT), so the audit buffer is placed on a* queue and a tasklet is scheduled to remove
396  Return rc
Caller
NameDescribe
audit_do_config_change
audit_receive_msg