summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola2015-02-10 00:18:09 +0100
committerKarel Zak2015-03-05 10:31:01 +0100
commit378543e13f93c522b976efddd1610a19a6601b1c (patch)
tree38467867c9467eb6cc23b91516be9364ef74bb7c /sys-utils/Makemodule.am
parentflock: add --verbose option (diff)
downloadkernel-qcow2-util-linux-378543e13f93c522b976efddd1610a19a6601b1c.tar.gz
kernel-qcow2-util-linux-378543e13f93c522b976efddd1610a19a6601b1c.tar.xz
kernel-qcow2-util-linux-378543e13f93c522b976efddd1610a19a6601b1c.zip
flock: improve timeout handling
Signal ALRM raised by the timer, and the timer only, will be considered as a timeout criteria. Secondly time interval is made to use monotonic clock. Documentation of ITIMER_REAL is unclear whether that time is affected various sources of clock skew, or does it even tick when system is suspended. Reviewed-by: Karel Zak <kzak@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index b6b0f91ac..bd1b681e8 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -2,7 +2,7 @@ if BUILD_FLOCK
usrbin_exec_PROGRAMS += flock
dist_man_MANS += sys-utils/flock.1
flock_SOURCES = sys-utils/flock.c lib/monotonic.c
-flock_LDADD = $(LDADD) libcommon.la $(CLOCKGETTIME_LIBS)
+flock_LDADD = $(LDADD) libcommon.la -lrt
endif
if BUILD_IPCMK