]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/Makefile
Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / Makefile
index 8a17828d9d5993588c9cd44e3049f6e476d19125..f71cc39c7e257a0a9208060ce9c858a034bc4750 100644 (file)
@@ -39,12 +39,15 @@ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
                  sys/timerfd.h sys/fanotify.h bits/eventfd.h bits/inotify.h \
                  bits/signalfd.h bits/timerfd.h bits/epoll.h \
                  bits/socket_type.h bits/syscall.h bits/sysctl.h \
-                 bits/mman-linux.h bits/mman-shared.h \
+                 bits/mman-linux.h bits/mman-shared.h bits/ptrace-shared.h \
                  bits/siginfo-arch.h bits/siginfo-consts-arch.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 tst-mlock2 tst-pkey
+        test-errno-linux tst-memfd_create tst-mlock2 tst-pkey \
+        tst-rlimit-infinity tst-ofdlocks
+tests-internal += tst-ofdlocks-compat
+
 
 # Generate the list of SYS_* macros for the system calls (__NR_*
 # macros).  The file syscall-names.list contains all possible system
@@ -166,7 +169,12 @@ endif
 
 ifeq ($(subdir),io)
 sysdep_routines += xstatconv internal_statvfs internal_statvfs64 \
-                  sync_file_range fallocate fallocate64
+                  sync_file_range fallocate fallocate64 \
+                  close_nocancel fcntl_nocancel nanosleep_nocancel \
+                  open_nocancel open64_nocancel \
+                  openat_nocancel openat64_nocancel \
+                  pause_nocancel read_nocancel waitpid_nocancel write_nocancel
+
 sysdep_headers += bits/fcntl-linux.h
 
 tests += tst-fallocate tst-fallocate64
@@ -189,7 +197,7 @@ CFLAGS-mq_receive.c += -fexceptions
 endif
 
 ifeq ($(subdir),nscd)
-sysdep-CFLAGS += -DHAVE_EPOLL -DHAVE_SENDFILE -DHAVE_INOTIFY -DHAVE_NETLINK
+sysdep-CFLAGS += -DHAVE_EPOLL -DHAVE_INOTIFY -DHAVE_NETLINK
 CFLAGS-gai.c += -DNEED_NETLINK
 endif