Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:unapply_uprobe

Proto:static int unapply_uprobe(struct uprobe *uprobe, struct mm_struct *mm)

Type:int

Parameter:

TypeParameterName
struct uprobe *uprobe
struct mm_struct *mm
1242  err = 0
1244  lock for reading
1245  When vma cycle
1249  If 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 || file_inode(File we map to (can be NULL). ) != Also hold a ref to inode Then Continue
1253  offset = Offset (within vm_file) in PAGE_SIZEunits << PAGE_SHIFT determines the page size
1254  If offset < offset || offset >= offset + The first byte after our end addresswithin vm_mm. - Our start address within vm_mm. Then Continue
1258  vaddr = offset_to_vaddr(vma, offset)
1259  err |= remove_breakpoint(uprobe, mm, vaddr)
1261  lease a read lock
1263  Return err
Caller
NameDescribe
handler_chain