about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-12-22 13:18:47 -0500
committerRich Felker <dalias@aerifal.cx>2019-12-22 13:18:47 -0500
commitf9895817321790bef33a56e3b10f3f71d989c23e (patch)
treec50d056ee24a404594b04782f6f1b4c8741bde6c /src
parent0738e6c19fb03d11ee55637b75171fc9f8287572 (diff)
downloadmusl-f9895817321790bef33a56e3b10f3f71d989c23e.tar.gz
musl-f9895817321790bef33a56e3b10f3f71d989c23e.tar.xz
musl-f9895817321790bef33a56e3b10f3f71d989c23e.zip
add further ioctl time64 fallback conversion for device-specific command
VIDIOC_OMAP3ISP_STAT_REQ is a device-specific command for the omap3isp
video device. the command number is in a device-private range and
therefore could theoretically be used by other devices too in the
future, but problematic clashes should not be able to arise without
intentional misuse.
Diffstat (limited to 'src')
-rw-r--r--src/misc/ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc/ioctl.c b/src/misc/ioctl.c
index 3c1595e2..aa748fb8 100644
--- a/src/misc/ioctl.c
+++ b/src/misc/ioctl.c
@@ -57,6 +57,9 @@ static const struct ioctl_compat_map compat_map[] = {
 	/* VIDIOC_DQEVENT */
 	{ _IOR('V', 89, new_misaligned(96)), _IOR('V', 89, char[96]), 96, R, 0, OFFS(76,80) },
 
+	/* VIDIOC_OMAP3ISP_STAT_REQ */
+	{ _IOWR('V', 192+6, char[32]), _IOWR('V', 192+6, char[24]), 22, WR, 0, OFFS(0,4) },
+
 	/* PPPIOCGIDLE */
 	{ _IOR('t', 63, char[16]), _IOR('t', 63, char[8]), 8, R, 0, OFFS(0,4) },