summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/prctl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h
index 07a3490b..9cc3a80e 100644
--- a/include/sys/prctl.h
+++ b/include/sys/prctl.h
@@ -146,6 +146,13 @@ struct prctl_mm_map {
#define PR_SPEC_DISABLE (1UL << 2)
#define PR_SPEC_FORCE_DISABLE (1UL << 3)
+#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)
+
int prctl (int, ...);
#ifdef __cplusplus