/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef __ASM_GENERIC_MMAN_H2#define __ASM_GENERIC_MMAN_H34#include <asm-generic/mman-common.h>56#define MAP_GROWSDOWN 0x0100 /* stack-like segment */7#define MAP_DENYWRITE 0x0800 /* ETXTBSY */8#define MAP_EXECUTABLE 0x1000 /* mark it as an executable */9#define MAP_LOCKED 0x2000 /* pages are locked */10#define MAP_NORESERVE 0x4000 /* don't check for reservations */1112/*13* Bits [26:31] are reserved, see asm-generic/hugetlb_encode.h14* for MAP_HUGETLB usage15*/1617#define MCL_CURRENT 1 /* lock all current mappings */18#define MCL_FUTURE 2 /* lock all future mappings */19#define MCL_ONFAULT 4 /* lock all pages that are faulted in */2021#define SHADOW_STACK_SET_TOKEN (1ULL << 0) /* Set up a restore token in the shadow stack */22#define SHADOW_STACK_SET_MARKER (1ULL << 1) /* Set up a top of stack marker in the shadow stack */232425#endif /* __ASM_GENERIC_MMAN_H */262728