From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAM16-0000Ke-Si for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:05:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAM0z-00045O-60 for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:05:00 -0500 Received: from eu1sys200aog125.obsmtp.com ([207.126.144.159]:51764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAM0y-00045D-Qp for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:04:53 -0500 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 05EFD156 for ; Mon, 3 Feb 2014 16:03:46 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas2.st.com [10.75.90.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 092C52CB55 for ; Mon, 3 Feb 2014 16:04:34 +0000 (GMT) From: Christophe Lyon Date: Mon, 3 Feb 2014 17:04:32 +0100 Message-ID: <1391443472-18030-1-git-send-email-christophe.lyon@st.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] Add support for MAP_NORESERVE mmap flag. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Christophe Lyon mmap_flags_tbl contains a list of mmap flags, and how to map them to the target. This patch adds MAP_NORESERVE, which was missing to the list. Signed-off-by: Christophe Lyon --- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index bc0ac98..2e7df53 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -4029,6 +4029,8 @@ static bitmask_transtbl mmap_flags_tbl[] = { { TARGET_MAP_DENYWRITE, TARGET_MAP_DENYWRITE, MAP_DENYWRITE, MAP_DENYWRITE }, { TARGET_MAP_EXECUTABLE, TARGET_MAP_EXECUTABLE, MAP_EXECUTABLE, MAP_EXECUTABLE }, { TARGET_MAP_LOCKED, TARGET_MAP_LOCKED, MAP_LOCKED, MAP_LOCKED }, + { TARGET_MAP_NORESERVE, TARGET_MAP_NORESERVE, MAP_NORESERVE, + MAP_NORESERVE }, { 0, 0, 0, 0 } }; -- 1.8.4.1