|
Message-Id: <20230807220722.107903-1-michalbiesek@gmail.com> Date: Tue, 8 Aug 2023 00:07:22 +0200 From: Michal Biesek <michalbiesek@...il.com> To: musl@...ts.openwall.com Cc: Michal Biesek <michalbiesek@...il.com> Subject: [PATCH] sys/prctl.h: add PR_SET_VMA from linux v5.17 Allows store names for private anonymous memory see linux commit 9a10064f5625d5572c3626c1516e0bebc6c9fe9b mm: add a field to store names for private anonymous memory --- include/sys/prctl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 087a75c9..04ce0d4f 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -177,6 +177,9 @@ struct prctl_mm_map { #define PR_PAC_SET_ENABLED_KEYS 60 #define PR_PAC_GET_ENABLED_KEYS 61 +#define PR_SET_VMA 0x53564d41 +#define PR_SET_VMA_ANON_NAME 0 + int prctl (int, ...); #ifdef __cplusplus -- 2.34.1
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.