From 4bab02240e9076b49702b30bb8a1d23a0afe58cb Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 27 Nov 2017 17:14:29 +0100 Subject: Implement the mlock2 function Fallback using mlock is provided if the flags argument is zero. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/Versions | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/unix/sysv/linux/Versions') diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 6f2fe516d7..e799b62285 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -168,6 +168,7 @@ libc { } GLIBC_2.27 { memfd_create; + mlock2; } GLIBC_PRIVATE { # functions used in other libraries -- cgit v1.2.3