aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-02-10 19:43:56 +0000
committerUlrich Drepper <drepper@redhat.com>2008-02-10 19:43:56 +0000
commit2e3e9ff16ca12c6132776f538ac540a3f3538b06 (patch)
treeb0eebc460cee43329edae926c34a75fc10af63ca
parent9d9ba8733310af177c88b2b0723a43b631814818 (diff)
downloadglibc-2e3e9ff16ca12c6132776f538ac540a3f3538b06.tar
glibc-2e3e9ff16ca12c6132776f538ac540a3f3538b06.tar.gz
glibc-2e3e9ff16ca12c6132776f538ac540a3f3538b06.tar.bz2
glibc-2e3e9ff16ca12c6132776f538ac540a3f3538b06.zip
* sysdeps/unix/sysv/linux/sys/timerfd.h: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add sys/timerfd.h. * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, timerfd_gettime, timerfd_settime. * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, timerfd_gettime, timerfd_settime for GLIBC_2.8.
-rw-r--r--ChangeLog10
-rw-r--r--sysdeps/unix/sysv/linux/Makefile3
-rw-r--r--sysdeps/unix/sysv/linux/Versions3
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list4
4 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 94f1abaadd..5108ede5f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-02-10 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/sys/timerfd.h: New file.
+ * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add
+ sys/timerfd.h.
+ * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create,
+ timerfd_gettime, timerfd_settime.
+ * sysdeps/unix/sysv/linux/Versions: Add timerfd_create,
+ timerfd_gettime, timerfd_settime for GLIBC_2.8.
+
2008-02-08 Roland McGrath <roland@redhat.com>
* elf/elf.h (NT_PPC_SPE): New macro.
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 5f32d1a4a9..ddbb4f68f8 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -25,7 +25,8 @@ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
sys/quota.h sys/fsuid.h \
scsi/sg.h scsi/scsi.h scsi/scsi_ioctl.h sys/pci.h \
sys/ultrasound.h sys/raw.h sys/personality.h sys/epoll.h \
- bits/a.out.h sys/inotify.h sys/signalfd.h sys/eventfd.h
+ bits/a.out.h sys/inotify.h sys/signalfd.h sys/eventfd.h \
+ sys/timerfd.h
install-others += $(inst_includedir)/bits/syscall.h
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index dbf2ae5901..af4c293c26 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -132,6 +132,9 @@ libc {
GLIBC_2.7 {
eventfd; eventfd_read; eventfd_write; signalfd;
}
+ GLIBC_2.8 {
+ timerfd_create; timerfd_settime; timerfd_gettime;
+ }
GLIBC_PRIVATE {
# functions used in other libraries
__syscall_rt_sigqueueinfo;
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index e304a78ea8..b3ecf9f478 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -94,3 +94,7 @@ fremovexattr - fremovexattr i:is fremovexattr
mq_timedsend - mq_timedsend Ci:ipiip __GI_mq_timedsend mq_timedsend
mq_timedreceive - mq_timedreceive Ci:ipipp __GI_mq_timedreceive mq_timedreceive
mq_setattr - mq_getsetattr i:ipp __GI_mq_setattr mq_setattr
+
+timerfd_create EXTRA timerfd_create i:ii timerfd_create
+timerfd_settime EXTRA timerfd_settime i:iipp timerfd_settime
+timerfd_gettime EXTRA timerfd_gettime i:ip timerfd_gettime