函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_log_common_recv_msg

函数原型:static void audit_log_common_recv_msg(struct audit_context *context, struct audit_buffer **ab, u16 msg_type)

返回类型:void

参数:

类型参数名称
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(当前进程)
1049  如果非audit_enabledmsg_type不等于We filter this differently
1050  * ab = NULL
1051  返回
1054  ab等于申请审计缓冲区
1055  如果此条件成立可能性小(为编译器优化)(! * ab)则返回
1057  写入审计信息
1058  audit_log_session_info( * ab)
1059  audit_log_task_context( * ab)
调用者
名称描述
audit_log_user_recv_msg
audit_receive_msg