about summary refs log tree commit diff
path: root/support/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-06-16 13:44:03 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-06-22 12:09:52 -0300
commit92f7b465101c23e45f66c6ad25ba243df49556a0 (patch)
tree8af981c64cf0a77245f7bf1db86af48a44f5ca75 /support/Makefile
parent52a5fe70a2c77935afe807fb6e904e512ddd894e (diff)
downloadglibc-92f7b465101c23e45f66c6ad25ba243df49556a0.tar.gz
glibc-92f7b465101c23e45f66c6ad25ba243df49556a0.tar.xz
glibc-92f7b465101c23e45f66c6ad25ba243df49556a0.zip
support: Add support_create_timer
It is a simple wrapper over timer_create, timer_settime, and
sigaction.  It will be used to check for large timeout to trigger an
EINTR and to avoid use a large timeout (as for alarm()).

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'support/Makefile')
-rw-r--r--support/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/Makefile b/support/Makefile
index f3ebaa8d2e..278f4627d8 100644
--- a/support/Makefile
+++ b/support/Makefile
@@ -50,6 +50,7 @@ libsupport-routines = \
   support_chroot \
   support_copy_file \
   support_copy_file_range \
+  support_create_timer \
   support_descriptor_supports_holes \
   support_descriptors \
   support_enter_mount_namespace \