Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called in context of a munmap of a vma.

Proto:void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longstart
unsigned longend
1428  If allows us to skip the uprobe_mmap if there are no uprobe events active* at this time. Probably a fine grained per inode count is better?() || Not valid_vma: Verify if the specified vma is an executable vma* Relax restrictions while unregistering: vm_flags might have* changed after breakpoint was inserted Then Return
1431  If Not atomic_read( & mm_users) Then Return
1434  If Not Determine whether a bit is set(has uprobes , & flags) || Determine whether a bit is set(MMF_HAS_UPROBES can be wrong , & flags) Then Return
1438  If vma_has_uprobes(vma, start, end) Then Atomically set a bit in memory
Caller
NameDescribe
__vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary