about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-27 23:20:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-27 23:20:07 +0200
commit8bfd94d0dc9a3e0140f084ef301749846ac6d5d3 (patch)
treeffca1ccd17ec03ef320a5e5cb0b0b17e02407d45 /sysdeps
parentf178e59fa5eefbbd37fde040ae8334aa5c857ee1 (diff)
downloadglibc-8bfd94d0dc9a3e0140f084ef301749846ac6d5d3.tar.gz
glibc-8bfd94d0dc9a3e0140f084ef301749846ac6d5d3.tar.xz
glibc-8bfd94d0dc9a3e0140f084ef301749846ac6d5d3.zip
hurd: advertise process memory locking option
mlock/unlockall were already implemented.

* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/bits/posix_opt.h4
1 files changed, 2 insertions, 2 deletions
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