musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2021年07月07日 17:43:30 +0000
committerRich Felker <dalias@aerifal.cx>2022年03月08日 17:21:26 -0500
commitaa3bab6ce48d4e210ba3a86fed62e589df789ff4 (patch)
treef413e02e168cc6d5a0345c3bb3670ee652aaf87a
parenta8300f5d2a4b0774a1646454bdf6c629d2c49ace (diff)
downloadmusl-aa3bab6ce48d4e210ba3a86fed62e589df789ff4.tar.gz
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)
Diffstat
-rw-r--r--include/sys/prctl.h 3
1 files changed, 3 insertions, 0 deletions
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
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 13:47:08 +0000

AltStyle によって変換されたページ (->オリジナル) /