arm64: Tighten the PR_{SET, GET}_TAGGED_ADDR_CTRL prctl() unused arguments
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 15 Aug 2019 15:44:00 +0000 (16:44 +0100)
committerWill Deacon <will@kernel.org>
Tue, 20 Aug 2019 17:17:55 +0000 (18:17 +0100)
commit3e91ec89f527b9870fe42dcbdb74fd389d123a95
tree9b384e277452dacf60078c979b87c780bbc0cc97
parent74585fcb7b3ccb35135e2418dd66251022a916e5
arm64: Tighten the PR_{SET, GET}_TAGGED_ADDR_CTRL prctl() unused arguments

Require that arg{3,4,5} of the PR_{SET,GET}_TAGGED_ADDR_CTRL prctl and
arg2 of the PR_GET_TAGGED_ADDR_CTRL prctl() are zero rather than ignored
for future extensions.

Acked-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
kernel/sys.c