Thread (16 messages) 16 messages, 5 authors, 2019-08-23

Re: [PATCH v8 1/5] mm: untag user pointers in mmap/munmap/mremap/brk

From: Will Deacon <will@kernel.org>
Date: 2019-08-23 15:01:31
Also in: linux-arch, linux-doc, linux-mm

On Thu, Aug 22, 2019 at 04:41:25PM -0700, Andrew Morton wrote:
On Mon, 19 Aug 2019 17:28:51 +0100 Will Deacon [off-list ref] wrote:
quoted
On Thu, Aug 15, 2019 at 04:43:59PM +0100, Catalin Marinas wrote:
quoted
There isn't a good reason to differentiate between the user address
space layout modification syscalls and the other memory
permission/attributes ones (e.g. mprotect, madvise) w.r.t. the tagged
address ABI. Untag the user addresses on entry to these functions.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
---
 mm/mmap.c   | 5 +++++
 mm/mremap.c | 6 +-----
 2 files changed, 6 insertions(+), 5 deletions(-)
Acked-by: Will Deacon <will@kernel.org>

Andrew -- please can you pick this patch up? I'll take the rest of the
series via arm64 once we've finished discussing the wording details.
Sure, I grabbed the patch from the v9 series.
Thanks, Andrew.
But please feel free to include this in the arm64 tree - I'll autodrop
my copy if this turns up in linux-next.
I'd prefer for this one to go via you so that it can sit with the rest of
the core changes relating to tagged addresses. Obviously please yell if
you run into any issues with it!

Cheers,

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help