History

tools headers: Sync uapi/asm-generic/mman.h with the kernel sources

To pick up the changes in this cset: 3630e82ab6bd2642 ("mman: Add map_shadow_stack() flags") This addresses these perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/asm-generic/mman.h include/uapi/asm-generic/mman.h Please see tools/include/uapi/README for further details.

Namhyung Kim committed 1 year ago

Commit 3cef7d81 parent 81b483f1 file · +4 −0Browse files

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

Unified · Split

tools/include/uapi/asm-generic/mman.h+4−0
@@ -19,4 +19,8 @@ · 18 unmodified lines
1919 #define MCL_FUTURE 2 /* lock all future mappings */
2020 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */
2121
22+#define SHADOW_STACK_SET_TOKEN (1ULL << 0) /* Set up a restore token in the shadow stack */
23+#define SHADOW_STACK_SET_MARKER (1ULL << 1) /* Set up a top of stack marker in the shadow stack */
24+
25+
2226 #endif /* __ASM_GENERIC_MMAN_H */