From 28c54a40b6127f7731c55caafd2de931128e2b88 Mon Sep 17 00:00:00 2001 From: Michal Biesek Date: Thu, 10 Aug 2023 20:22:59 +0200 Subject: [PATCH] pr.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 --- libc/sysv/consts/pr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/sysv/consts/pr.h b/libc/sysv/consts/pr.h index 4006e3949..ff294a3a1 100644 --- a/libc/sysv/consts/pr.h +++ b/libc/sysv/consts/pr.h @@ -103,5 +103,7 @@ #define PR_GET_IO_FLUSHER 58 #define PR_SET_PTRACER 0x59616d61 #define PR_SET_PTRACER_ANY -1 +#define PR_SET_VMA 0x53564d41 +#define PR_SET_VMA_ANON_NAME 0 #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PR_H_ */