Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:45:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:filter_chain

Proto:static bool filter_chain(struct uprobe *uprobe, enum uprobe_filter_ctx ctx, struct mm_struct *mm)

Type:bool

Parameter:

TypeParameterName
struct uprobe *uprobe
enum uprobe_filter_ctxctx
struct mm_struct *mm
893  bool ret = false
895  lock for reading
896  When uc cycle
897  ret = consumer_filter(uc, ctx, mm)
898  If ret Then Break
901  lease a read lock
903  Return ret
Caller
NameDescribe
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.