aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/Makefile
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/Makefile
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/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 58ce07b526..478f7e3d4d 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -18,7 +18,7 @@ sysdep_routines += clone umount umount2 readahead \
setfsuid setfsgid epoll_pwait signalfd \
eventfd eventfd_read eventfd_write prlimit \
personality epoll_wait tee vmsplice splice \
- open_by_handle_at
+ open_by_handle_at mlock2
CFLAGS-gethostid.c = -fexceptions
CFLAGS-tee.c = -fexceptions -fasynchronous-unwind-tables
@@ -44,7 +44,7 @@ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
tests += tst-clone tst-clone2 tst-clone3 tst-fanotify tst-personality \
tst-quota tst-sync_file_range tst-sysconf-iov_max tst-ttyname \
- test-errno-linux tst-memfd_create
+ test-errno-linux tst-memfd_create tst-mlock2
# Generate the list of SYS_* macros for the system calls (__NR_*
# macros). The file syscall-names.list contains all possible system