Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit_tree.c Create Date:2022-07-28 11:30:53
Last Modify:2022-05-22 16:43:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:void audit_kill_trees(struct audit_context *context)

Type:void

Parameter:

TypeParameterName
struct audit_context *context
981  list = killed_trees
983  audit_ctl_lock - Take the audit control lock
984  mutex_lock( & audit_filter_mutex)
986  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
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.(next, structaudit_tree, list)
990  kill_rules(context, victim)
991  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
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
Caller
NameDescribe
__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