History

tools: testing: update tools UAPI header for mman-common.h

Import the new MADV_GUARD_INSTALL/REMOVE madvise flags.

Lorenzo Stoakes committed 2 years ago

Commit 75d60eb1 parent 662df3e1 file · +3 −0Browse files

Showing the changes to tools/include/uapi (1 of 1 file). Show all

Unified · Split

tools/include/uapi/asm-generic/mman-common.h+3−0
@@ -79,6 +79,9 @@ · 78 unmodified lines
79 79
80#define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */80#define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */
81 81
82#define MADV_GUARD_INSTALL 102 /* fatal signal on access to range */
83#define MADV_GUARD_REMOVE 103 /* unguard range */
84
82/* compatibility flags */85/* compatibility flags */
83#define MAP_FILE 086#define MAP_FILE 0
84 87