函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit_tree.c Create Date:2022-07-27 12:34:20
Last Modify:2022-05-22 16:43:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:... and that one is done if evict_chunk() decides to delay until the end* of syscall. Runs synchronously.

函数原型:void audit_kill_trees(struct audit_context *context)

返回类型:void

参数:

类型参数名称
struct audit_context *context
981  list等于killed_trees
983  audit_ctl_lock - Take the audit control lock
984  mutex_lock( & audit_filter_mutex)
986  当非链表为空循环
989  victim等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(链表后项, structaudit_tree, list)
990  kill_rules(context, victim)
991  删除链表项并重新初始化
993  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
995  sh killing struct audit_tree
997  mutex_lock( & audit_filter_mutex)
1000  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1001  audit_ctl_unlock - Drop the audit control lock
调用者
名称描述
__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
__audit_syscall_exit__audit_syscall_exit - deallocate audit context after a system call*@success: success value of the syscall*@return_code: return value of the syscall* Tear down after system call