From: Rich Felker Date: Sun, 22 Dec 2019 18:18:47 +0000 (-0500) Subject: add further ioctl time64 fallback conversion for device-specific command X-Git-Tag: v1.2.0~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f9895817321790bef33a56e3b10f3f71d989c23e;p=oweals%2Fmusl.git 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. --- 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) },