Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_launch_prune

Proto:static int audit_launch_prune(void)

Type:int

Parameter:Nothing

791  If prune_thread Then Return 0
793  prune_thread = kthread_run - create and wake a thread.*@threadfn: the function to run until signal_pending(current).*@data: data ptr for @threadfn.*@namefmt: printf-style name for the thread.* Description: Convenient wrapper for kthread_create() followed by(That gets run when evict_chunk() ends up needing to kill audit_tree.* Runs from a separate thread., NULL, "audit_prune_tree")
795  If IS_ERR(prune_thread) Then
796  pr_err("cannot start thread audit_prune_tree")
797  prune_thread = NULL
798  Return -ENOMEM
800  Return 0
Caller
NameDescribe
audit_add_tree_rulealled with audit_filter_mutex