Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_set_context

Proto:static inline void audit_set_context(struct task_struct *task, struct audit_context *ctx)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
struct audit_context *ctx

NULL

Caller
NameDescribe
copy_processCreate a new process
audit_allocaudit_alloc - allocate an audit context block for a task*@tsk: task* Filter on the task information and allocate a per-task audit context* if necessary. Doing so turns on system call auditing for the* specified task
__audit_free__audit_free - free a per-task audit context*@tsk: task whose audit context block to free* Called from copy_process and do_exit