aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-11-27 17:14:29 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-11-27 17:14:29 +0100
commit4bab02240e9076b49702b30bb8a1d23a0afe58cb (patch)
treefc60d42e429ae1032be1f0291145232594e1ee4e /sysdeps/unix/sysv/linux/Versions
parenta23aa5b7272ec4a04578d82399ec2bf536281119 (diff)
downloadglibc-4bab02240e9076b49702b30bb8a1d23a0afe58cb.tar
glibc-4bab02240e9076b49702b30bb8a1d23a0afe58cb.tar.gz
glibc-4bab02240e9076b49702b30bb8a1d23a0afe58cb.tar.bz2
glibc-4bab02240e9076b49702b30bb8a1d23a0afe58cb.zip
Implement the mlock2 function
Fallback using mlock is provided if the flags argument is zero. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/Versions')
-rw-r--r--sysdeps/unix/sysv/linux/Versions1
1 files changed, 1 insertions, 0 deletions
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