[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-a1pahzc8lci0ey1fjvv1chdm@git.kernel.org>
Date: Tue, 8 Jan 2019 07:38:06 -0800
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: namhyung@...nel.org, hpa@...or.com, tglx@...utronix.de,
jolsa@...nel.org, will.deacon@....com, acme@...hat.com,
kristina.martsenko@....com, linux-kernel@...r.kernel.org,
adrian.hunter@...el.com, mingo@...nel.org
Subject: [tip:perf/urgent] tools headers uapi: Sync prctl.h with the kernel
sources
Commit-ID: 3d32c4531958c433a6ee087f31891cb02d6b68d9
Gitweb: https://git.kernel.org/tip/3d32c4531958c433a6ee087f31891cb02d6b68d9
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Thu, 3 Jan 2019 14:56:20 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 3 Jan 2019 14:56:20 -0300
tools headers uapi: Sync prctl.h with the kernel sources
To get the changes in ba8308856564 ("arm64: add prctl control for
resetting ptrauth keys"), that introduce a prctl with a name that needs
to be catch by the prctl cmd table generator, which will be done in the
next cset.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Kristina Martsenko <kristina.martsenko@....com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Will Deacon <will.deacon@....com>
Link: https://lkml.kernel.org/n/tip-a1pahzc8lci0ey1fjvv1chdm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/include/uapi/linux/prctl.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tools/include/uapi/linux/prctl.h b/tools/include/uapi/linux/prctl.h
index b17201edfa09..b4875a93363a 100644
--- a/tools/include/uapi/linux/prctl.h
+++ b/tools/include/uapi/linux/prctl.h
@@ -220,4 +220,12 @@ struct prctl_mm_map {
# define PR_SPEC_DISABLE (1UL << 2)
# define PR_SPEC_FORCE_DISABLE (1UL << 3)
+/* Reset arm64 pointer authentication keys */
+#define PR_PAC_RESET_KEYS 54
+# define PR_PAC_APIAKEY (1UL << 0)
+# define PR_PAC_APIBKEY (1UL << 1)
+# define PR_PAC_APDAKEY (1UL << 2)
+# define PR_PAC_APDBKEY (1UL << 3)
+# define PR_PAC_APGAKEY (1UL << 4)
+
#endif /* _LINUX_PRCTL_H */
Powered by blists - more mailing lists