Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_log_common_recv_msg

Proto:static void audit_log_common_recv_msg(struct audit_context *context, struct audit_buffer **ab, u16 msg_type)

Type:void

Parameter:

TypeParameterName
struct audit_context *context
struct audit_buffer **ab
u16msg_type
1046  uid = m_kuid - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid.
1047  pid = task_tgid_nr(current process)
1049  If Not audit_enabled && msg_type != We filter this differently Then
1050  * ab = NULL
1051  Return
1054  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
1055  If Value for the false possibility is greater at compile time(! * ab) Then Return
1057  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.
1058  audit_log_session_info( * ab)
1059  audit_log_task_context( * ab)
Caller
NameDescribe
audit_log_user_recv_msg
audit_receive_msg