]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kernel/events/uprobes: Use vma_lookup() in find_active_uprobe()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 8 Apr 2021 20:18:41 +0000 (16:18 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 10 May 2021 16:39:28 +0000 (12:39 -0400)
commit59f770fe56e15d6c7beeb957459dccafbd01765d
treed19736a59a9bff4847c19b3170122420c98f86bc
parent2cc489a083ee3704430abb720c8af31fdec5be27
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 <Liam.Howlett@Oracle.com>
kernel/events/uprobes.c