]> granicus.if.org Git - strace/commit
timerfd: update flags decoding
authorMike Frysinger <vapier@gentoo.org>
Wed, 31 Dec 2014 00:08:50 +0000 (19:08 -0500)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 31 Dec 2014 00:27:57 +0000 (00:27 +0000)
commitf1639d8f51cd609a43f5091f4cc3b31be4c63ec4
tree90e8ee4343a2f202e1f0dca1b707c745afc0f3d0
parente00a9571d43d25531c4291be85376d273e22ec98
timerfd: update flags decoding

The current code only decodes TFD_TIMER_ABSTIME when the kernel has
a bunch of newer flags.  We have to handle fallbacks for all of them
since the kernel doesn't currently export things to userspace.

* time.c: Include fcntl.h for O_* defines.
(TFD_TIMER_ABSTIME): Move to xlat/timerfdflags.in.
* xlat/timerfdflags.in: Add more definitions.
time.c
xlat/timerfdflags.in