hurd: advertise process memory locking option

mlock/unlockall were already implemented.

* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
This commit is contained in:
Samuel Thibault 2018-03-27 23:20:07 +02:00
parent f178e59fa5
commit 8bfd94d0dc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
2018-03-27 Andreas Schwab <schwab@suse.de>
[BZ #23005]

View File

@ -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