summaryrefslogtreecommitdiff
path: root/ioctl.c
diff options
context:
space:
mode:
authorStefan Sørensen <stefan.sorensen@spectralink.com>2014-01-31 12:01:01 +0100
committerDmitry V. Levin <ldv@altlinux.org>2014-02-04 00:03:08 +0000
commitb88a6f877eb08e6d45130374fc1a1867371db703 (patch)
tree4e930f960dd44bf6b2fecac88fb0f7f2d5c61482 /ioctl.c
parenta5fea9060f382fb57f3c4c6492184cd2a7f92b40 (diff)
downloadstrace-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 'ioctl.c')
-rw-r--r--ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ioctl.c b/ioctl.c
index 2280439..e9a503d 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -95,6 +95,8 @@ ioctl_decode(struct tcb *tcp, long code, long arg)
case 'o':
case 'O':
return ubi_ioctl(tcp, code, arg);
+ case '=':
+ return ptp_ioctl(tcp, code, arg);
default:
break;
}