diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-04-24 11:42:08 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-04-25 11:31:49 +0200 |
| commit | 0d1994d2d586cf72d02f2fa63070d5786dd39dc6 (patch) | |
| tree | cdc4d4dd07048e4fe369a03e40bfe0e89276c8a3 /sys/linux | |
| parent | 703136f4baa72c50497fd23f6600e62ad70b06ab (diff) | |
sys/linux: add new timerfd interfaces
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/sys.txt | 3 | ||||
| -rw-r--r-- | sys/linux/sys.txt.const | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 999adf6b5..342633a8d 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -159,6 +159,7 @@ signalfd4(fd fd, mask ptr[in, sigset_t], size len[mask], flags flags[signalfd_fl timerfd_create(clockid flags[clock_type], flags flags[timerfd_create_flags]) fd_timer timerfd_settime(fd fd_timer, flags flags[timerfd_settime_flags], new ptr[in, itimerspec], old ptr[out, itimerspec]) timerfd_gettime(fd fd_timer, cur ptr[out, itimerspec]) +ioctl$TFD_IOC_SET_TICKS(fd fd_timer, cmd const[TFD_IOC_SET_TICKS], arg ptr[in, int64]) resource fd_event[fd] eventfd(initval int32) fd_event @@ -1243,7 +1244,7 @@ seek_whence = SEEK_SET, SEEK_CUR, SEEK_END, SEEK_DATA, SEEK_HOLE signalfd_flags = SFD_NONBLOCK, SFD_CLOEXEC eventfd_flags = EFD_CLOEXEC, EFD_NONBLOCK, EFD_SEMAPHORE timerfd_create_flags = TFD_NONBLOCK, TFD_CLOEXEC -timerfd_settime_flags = TFD_TIMER_ABSTIME +timerfd_settime_flags = TFD_TIMER_ABSTIME, TFD_TIMER_CANCEL_ON_SET clock_type = CLOCK_REALTIME, CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC, CLOCK_MONOTONIC_COARSE, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID, CLOCK_REALTIME_ALARM, CLOCK_BOOTTIME_ALARM sigev_notify = SIGEV_NONE, SIGEV_SIGNAL, SIGEV_THREAD, SIGEV_THREAD_ID cap_version = _LINUX_CAPABILITY_VERSION_1, _LINUX_CAPABILITY_VERSION_2, _LINUX_CAPABILITY_VERSION_3 diff --git a/sys/linux/sys.txt.const b/sys/linux/sys.txt.const index d7322aa69..c977820f5 100644 --- a/sys/linux/sys.txt.const +++ b/sys/linux/sys.txt.const @@ -574,8 +574,10 @@ S_IXGRP = 8 S_IXOTH = 1 S_IXUSR = 64 TFD_CLOEXEC = 524288 +TFD_IOC_SET_TICKS = 1074287616, mips64le:ppc64le:2148029440 TFD_NONBLOCK = 2048, mips64le:128 TFD_TIMER_ABSTIME = 1 +TFD_TIMER_CANCEL_ON_SET = 2 TIMER_ABSTIME = 1 WCONTINUED = 8 WEXITED = 4 |
