函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:06:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:filter_chain

函数原型:static bool filter_chain(struct uprobe *uprobe, enum uprobe_filter_ctx ctx, struct mm_struct *mm)

返回类型:bool

参数:

类型参数名称
struct uprobe *uprobe
enum uprobe_filter_ctxctx
struct mm_struct *mm
893  bool ret = false
895  lock for reading
896 uc循环
897  ret等于consumer_filter(uc, ctx, mm)
898  如果ret退出
901  lease a read lock
903  返回:ret
调用者
名称描述
register_for_each_vma
uprobe_mmapCalled from mmap_region/vma_adjust with mm->mmap_sem acquired.* Currently we ignore all errors and always return 0, the callers* can't handle the failure anyway.