]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: advertise process memory locking option
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 27 Mar 2018 21:20:07 +0000 (23:20 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 27 Mar 2018 21:20:07 +0000 (23:20 +0200)
mlock/unlockall were already implemented.

* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.

ChangeLog
sysdeps/mach/hurd/bits/posix_opt.h

index 77751d628dfc61b303c200f72b94c2f7f74b3633..e6fe2aa1ad46466d8e71afe9f37ae8057573c327 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index 828d7ffc77b480816cffa6f7c50c93dc071d16de..d42c010c207a0a19d2fc8b05da284d18ffca88a8 100644 (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