From 7c68ab1d1085925ec33dc0f8a6695006b2d7a85d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 30 Jan 2026 23:47:42 +0100 Subject: [PATCH] std.os.linux: add MAP.DROPPABLE Introduced in Linux 6.11. --- lib/std/os/linux.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index f5868f71e9af718e2464e03a9e241f95f104ae89..501ba44557b4a817d7de516795bd4ee4d3361c24 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -146,6 +146,7 @@ pub const MAP_TYPE = enum(u4) { SHARED = 0x01, PRIVATE = 0x02, SHARED_VALIDATE = 0x03, + DROPPABLE = 0x08, }; pub const MAP = switch (native_arch) { -- 2.54.0