From 444a93d0f037c5117aef50415c18baade3ab3ede Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 2 Feb 2018 00:21:16 +0000 Subject: [PATCH] xlat: update MAP_* constants * xlat/mmap_flags.in: Add MAP_SHARED_VALIDATE and MAP_SYNC introduced by linux kernel commits v4.15-rc1~71^2^2~23 and v4.15-rc1~71^2^2~12, respectively. * NEWS: Mention this. --- NEWS | 2 +- xlat/mmap_flags.in | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index cbfc3b44..556390a8 100644 --- a/NEWS +++ b/NEWS @@ -25,7 +25,7 @@ Noteworthy changes in release ?.?? (????-??-??) of mq_getsetattr, mq_notify, mq_timedreceive, and mq_timedsend syscalls as file descriptors. * Added decoding of get_tls syscall on arm. - * Updated lists of MSG_*, NT_*, and SHM_* constants. + * Updated lists of MAP_*, MSG_*, NT_*, and SHM_* constants. * Added manual page for the strace-log-merge command. * Updated lists of ioctl commands from Linux 4.15. * Implemented biarch support for s390x. diff --git a/xlat/mmap_flags.in b/xlat/mmap_flags.in index e9fde440..60b74fc4 100644 --- a/xlat/mmap_flags.in +++ b/xlat/mmap_flags.in @@ -1,5 +1,6 @@ MAP_SHARED MAP_PRIVATE +MAP_SHARED_VALIDATE MAP_FIXED MAP_ANONYMOUS MAP_32BIT @@ -48,6 +49,7 @@ MAP_ANON MAP_HASSEMAPHORE MAP_STACK MAP_HUGETLB +MAP_SYNC #if defined MAP_UNINITIALIZED && MAP_UNINITIALIZED > 0 MAP_UNINITIALIZED #endif -- 2.40.0