Add VMA naming fallback for LowLevelAlloc.

PiperOrigin-RevId: 911021583
Change-Id: I3fc632b8b142cc738ced0dbb40d5eef87cc30cf4
This commit is contained in:
Chris Kennelly
2026-05-05 18:10:57 -07:00
committed by Copybara-Service
parent 97aea89f78
commit 4dcbb5982d

View File

@@ -47,6 +47,12 @@
#ifdef __linux__
#include <sys/prctl.h>
#ifndef PR_SET_VMA
#define PR_SET_VMA 0x53564d41
#endif
#ifndef PR_SET_VMA_ANON_NAME
#define PR_SET_VMA_ANON_NAME 0
#endif
#endif
#include <string.h>