Re: [PATCH v8 1/5] mm: untag user pointers in mmap/munmap/mremap/brk
From: Will Deacon <will@kernel.org>
Date: 2019-08-19 16:28:59
Also in:
linux-arch, linux-arm-kernel, linux-mm
From: Will Deacon <will@kernel.org>
Date: 2019-08-19 16:28:59
Also in:
linux-arch, linux-arm-kernel, linux-mm
On Thu, Aug 15, 2019 at 04:43:59PM +0100, Catalin Marinas wrote:
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. Thanks, Will