* [musl] [PATCH] sys/prctl.h: add PR_SET_VMA from linux v5.17
@ 2023-08-07 22:07 Michal Biesek
0 siblings, 0 replies; only message in thread
From: Michal Biesek @ 2023-08-07 22:07 UTC (permalink / raw)
To: musl; +Cc: Michal Biesek
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-07 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07 22:07 [musl] [PATCH] sys/prctl.h: add PR_SET_VMA from linux v5.17 Michal Biesek
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).