Re: [PATCH v8 1/5] mm: untag user pointers in mmap/munmap/mremap/brk
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2019-08-22 23:41:29
Also in:
linux-arch, linux-doc, linux-mm
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2019-08-22 23:41:29
Also in:
linux-arch, linux-doc, linux-mm
On Mon, 19 Aug 2019 17:28:51 +0100 Will Deacon [off-list ref] wrote:
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. But please feel free to include this in the arm64 tree - I'll autodrop my copy if this turns up in linux-next. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel