* 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.
This commit is contained in:
Ulrich Drepper 2008-02-10 19:43:56 +00:00
parent 9d9ba87333
commit 2e3e9ff16c
4 changed files with 19 additions and 1 deletions

View File

@ -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.

View File

@ -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

View File

@ -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;

View File

@ -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