From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27050 invoked by alias); 27 Mar 2018 21:20:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 27041 invoked by uid 89); 27 Mar 2018 21:20:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=H*r:4.90_1, advertise X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: advertise process memory locking option Date: Tue, 27 Mar 2018 21:20:00 -0000 Message-Id: <20180327212045.12801-1-samuel.thibault@ens-lyon.org> X-SW-Source: 2018-03/txt/msg00575.txt.bz2 mlock/unlockall were already implemented. * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define. --- ChangeLog | 4 ++++ sysdeps/mach/hurd/bits/posix_opt.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77751d628d..e6fe2aa1ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-03-27 Samuel Thibault + + * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define. + 2018-03-27 Andreas Schwab [BZ #23005] diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h index 828d7ffc77..d42c010c20 100644 --- a/sysdeps/mach/hurd/bits/posix_opt.h +++ b/sysdeps/mach/hurd/bits/posix_opt.h @@ -42,8 +42,8 @@ /* Mapping of files to memory is supported. */ #define _POSIX_MAPPED_FILES 200809L -/* Locking of all memory could be supported in future. */ -#define _POSIX_MEMLOCK 0 +/* Locking of all memory is supported. */ +#define _POSIX_MEMLOCK 200809L /* Locking of ranges of memory is supported. */ #define _POSIX_MEMLOCK_RANGE 200809L -- 2.16.2