diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2019-07-23 19:58:52 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-08-06 18:08:45 +0100 |
commit | 9ce1263033cd2ad393e2ff0df4a1c4ab4992c9df (patch) | |
tree | 3493eed1ee8d30f3fa859e2a48b72614058ca06a /tools/testing/selftests/arm64/.gitignore | |
parent | arm64: Introduce prctl() options to control the tagged user addresses ABI (diff) | |
download | linux-dev-9ce1263033cd2ad393e2ff0df4a1c4ab4992c9df.tar.xz linux-dev-9ce1263033cd2ad393e2ff0df4a1c4ab4992c9df.zip |
selftests, arm64: add a selftest for passing tagged pointers to kernel
This patch is a part of a series that extends kernel ABI to allow to pass
tagged user pointers (with the top byte set to something else other than
0x00) as syscall arguments.
This patch adds a simple test, that calls the uname syscall with a
tagged user pointer as an argument. Without the kernel accepting tagged
user pointers the test fails with EFAULT.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64/.gitignore')
-rw-r--r-- | tools/testing/selftests/arm64/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/arm64/.gitignore b/tools/testing/selftests/arm64/.gitignore new file mode 100644 index 000000000000..e8fae8d61ed6 --- /dev/null +++ b/tools/testing/selftests/arm64/.gitignore @@ -0,0 +1 @@ +tags_test |