From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91833 invoked by alias); 24 Aug 2018 13:08:57 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 81644 invoked by uid 10080); 24 Aug 2018 13:08:55 -0000 Date: Fri, 24 Aug 2018 13:08:00 -0000 Message-ID: <20180824130855.81637.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Retire the unimplemented MAP_RENAME X-Act-Checkin: newlib-cygwin X-Git-Author: jhb X-Git-Refname: refs/heads/master X-Git-Oldrev: 3d5043e2cb2a8ded0842181086035a7a3b2ced32 X-Git-Newrev: 60b466fbc2e022fcaf91af63dc1b4154d8a93918 X-SW-Source: 2018-q3/txt/msg00055.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=60b466fbc2e022fcaf91af63dc1b4154d8a93918 commit 60b466fbc2e022fcaf91af63dc1b4154d8a93918 Author: jhb Date: Sat Oct 18 12:28:51 2014 +0000 Retire the unimplemented MAP_RENAME and MAP_NORESERVE flags to mmap(2). Older binaries are still permitted to use these flags. PR: 193961 (exp-run in ports) Differential Revision: https://reviews.freebsd.org/D848 Reviewed by: kib Diff: --- newlib/libc/sys/rtems/include/sys/mman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newlib/libc/sys/rtems/include/sys/mman.h b/newlib/libc/sys/rtems/include/sys/mman.h index f0e01b6..53b656c 100644 --- a/newlib/libc/sys/rtems/include/sys/mman.h +++ b/newlib/libc/sys/rtems/include/sys/mman.h @@ -69,8 +69,8 @@ #define MAP_FIXED 0x0010 /* map addr must be exactly as requested */ #if __BSD_VISIBLE -#define MAP_RENAME 0x0020 /* Sun: rename private pages to file */ -#define MAP_NORESERVE 0x0040 /* Sun: don't reserve needed swap area */ +#define MAP_RESERVED0020 0x0020 /* previously unimplemented MAP_RENAME */ +#define MAP_RESERVED0040 0x0040 /* previously unimplemented MAP_NORESERVE */ #define MAP_RESERVED0080 0x0080 /* previously misimplemented MAP_INHERIT */ #define MAP_RESERVED0100 0x0100 /* previously unimplemented MAP_NOEXTEND */ #define MAP_HASSEMAPHORE 0x0200 /* region may contain semaphores */