diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2019-09-25 16:49:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-25 17:51:41 -0700 |
commit | ce18d171cb7368557e6498a3ce111d7d3dc03e4d (patch) | |
tree | d8a082c31da75c9792d3ec465a485028a7f1d797 /mm/internal.h | |
parent | 6cf5354c1c4b74fd2e5527db084f163e9d4dae4e (diff) | |
download | linux-stable-ce18d171cb7368557e6498a3ce111d7d3dc03e4d.tar.gz linux-stable-ce18d171cb7368557e6498a3ce111d7d3dc03e4d.tar.bz2 linux-stable-ce18d171cb7368557e6498a3ce111d7d3dc03e4d.zip |
mm: untag user pointers in mmap/munmap/mremap/brk
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.
Link: http://lkml.kernel.org/r/20190821164730.47450-2-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Dave P Martin <Dave.Martin@arm.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions