From: Samuel Thibault Date: Tue, 27 Mar 2018 21:20:07 +0000 (+0200) Subject: hurd: advertise process memory locking option X-Git-Tag: glibc-2.28~426 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfd94d0dc9a3e0140f084ef301749846ac6d5d3;p=thirdparty%2Fglibc.git hurd: advertise process memory locking option mlock/unlockall were already implemented. * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define. --- diff --git a/ChangeLog b/ChangeLog index 77751d628df..e6fe2aa1ad4 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 828d7ffc77b..d42c010c207 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