diff options
author | Stefan Sørensen <stefan.sorensen@spectralink.com> | 2014-01-31 12:01:01 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-04 00:03:08 +0000 |
commit | b88a6f877eb08e6d45130374fc1a1867371db703 (patch) | |
tree | 4e930f960dd44bf6b2fecac88fb0f7f2d5c61482 /defs.h | |
parent | a5fea9060f382fb57f3c4c6492184cd2a7f92b40 (diff) | |
download | strace-b88a6f877eb08e6d45130374fc1a1867371db703.tar.gz strace-b88a6f877eb08e6d45130374fc1a1867371db703.tar.bz2 strace-b88a6f877eb08e6d45130374fc1a1867371db703.tar.xz |
Decode ptp ioctls
* defs.h (ptp_ioctl): New prototype.
* ioctl.c (ioctl_decode): Call ptp_ioctl when code is '='.
* Makefile.am (strace_SOURCES): Add ptp.c.
(EXTRA_DIST): Add linux/ptp_clock.h.
* ptp.c: New file.
* linux/ptp_clock.h: New file.
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -703,6 +703,7 @@ extern int block_ioctl(struct tcb *, long, long); extern int mtd_ioctl(struct tcb *, long, long); extern int ubi_ioctl(struct tcb *, long, long); extern int loop_ioctl(struct tcb *, long, long); +extern int ptp_ioctl(struct tcb *, long, long); extern int tv_nz(struct timeval *); extern int tv_cmp(struct timeval *, struct timeval *); |