From 57a589717572ef7d3c3eb4480ca224d295817536 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 7 Jul 2021 17:43:30 +0000 Subject: [PATCH 16/17] sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13 see linux commit 201698626fbca1cf1a3b686ba14cf2a056500716 arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS) --- include/sys/prctl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 3f0254c7..087a75c9 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -174,6 +174,9 @@ struct prctl_mm_map { #define SYSCALL_DISPATCH_FILTER_ALLOW 0 #define SYSCALL_DISPATCH_FILTER_BLOCK 1 +#define PR_PAC_SET_ENABLED_KEYS 60 +#define PR_PAC_GET_ENABLED_KEYS 61 + int prctl (int, ...); #ifdef __cplusplus -- 2.31.1