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)
This commit is contained in:
Szabolcs Nagy 2021-07-07 17:43:30 +00:00 committed by Rich Felker
parent a8300f5d2a
commit aa3bab6ce4
1 changed files with 3 additions and 0 deletions

View File

@ -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