函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_launch_prune

函数原型:static int audit_launch_prune(void)

返回类型:int

参数:

791  如果prune_thread则返回: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  如果是错误
796  打印错误信息("cannot start thread audit_prune_tree")
797  prune_thread = NULL
798  返回:负ENOMEM
800  返回:0
调用者
名称描述
audit_add_tree_rulealled with audit_filter_mutex