diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-11-27 17:14:29 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-11-27 17:14:29 +0100 |
commit | 4bab02240e9076b49702b30bb8a1d23a0afe58cb (patch) | |
tree | fc60d42e429ae1032be1f0291145232594e1ee4e /sysdeps/unix/sysv/linux/Versions | |
parent | a23aa5b7272ec4a04578d82399ec2bf536281119 (diff) | |
download | glibc-4bab02240e9076b49702b30bb8a1d23a0afe58cb.tar.gz glibc-4bab02240e9076b49702b30bb8a1d23a0afe58cb.tar.xz 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/Versions | 1 |
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 |