kernel-events-uprobes-use-vma_lookup-in-find_active_uprobe.patch removed from -mm tree
The patch titled
Subject: kernel/events/uprobes: use vma_lookup() in find_active_uprobe()
has been removed from the -mm tree. Its filename was
kernel-events-uprobes-use-vma_lookup-in-find_active_uprobe.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Liam Howlett <[email protected]>
Subject: kernel/events/uprobes: use vma_lookup() in find_active_uprobe()
Use vma_lookup() to find the VMA at a specific address. As vma_lookup() will return NULL if the address is not within any VMA, the start address no longer needs to be validated.
Signed-off-by Liam R. Howlett <[email protected]>
Reviewed-by Laurent Dufour <[email protected]>
Acked-by Davidlohr Bueso <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/events/uprobes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/events/uprobes.c renamed from kernel/events/uprobes.c~kernel-events-uprobes-use-vma_lookup-in-find_active_uprobe +2 -2
@@ -2046,8 +2046,8 @@ static struct uprobe *find_active_uprobestruct vm_area_struct *vma;mmap_read_lock (mm); - vma =find_vma (mm, bp_vaddr); -if (vma && vma->vm_start <= bp_vaddr) { + vma =vma_lookup (mm, bp_vaddr); +if (vma) {if (valid_vma (vma, false)) {struct inode *inode =file_inode (vma->vm_file);loff_t offset =vaddr_to_offset (vma, bp_vaddr);
_
Patches currently in -mm which might be from [email protected] are