[PATCH 1/2] lapi: add PROT_MTE fallback
Andrea Cervesato <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
From: Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> Signed-off-by: Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> --- include/lapi/mman.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/lapi/mman.h b/include/lapi/mman.h index edd517c6e0ebad98f01530b9ac2a7c90cdcaced8..ca72ffd484129b9e8c9165816544da0d8d0ea06a 100644 --- a/include/lapi/mman.h +++ b/include/lapi/mman.h @@ -11,6 +11,10 @@ #include "config.h" #include "lapi/syscalls.h" +#ifndef PROT_MTE +# define PROT_MTE 0x20 +#endif + #ifndef HAVE_STRUCT_CACHESTAT_RANGE struct cachestat_range { uint64_t off; -- 2.51.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp