Dmitry V. Levin
8c20d8926c
Some ioctl constants are defined to different values on those 32-bit architectures where structures containing a 64-bit field are aligned on a 8-byte boundary and have a size multiple of 8 bytes, and on other 32-bit architectures. * configure.ac: Check the size of a structure containing a 64-bit field. * linux/32/ioctls_inc.h: Rename to ... * linux/32/ioctls_inc_align32.h: ... this. * linux/32/ioctls_inc_align64.h: New file. * linux/32/ioctls_inc.h: Include either 32/ioctls_inc_align32.h or ioctls_inc_align64.h depending on SIZEOF_STRUCT_I64_I32. * Makefile.am (EXTRA_DIST): Add linux/32/ioctls_inc_align32.h and * linux/32/ioctls_inc_align64.h. * tests/ioctl.c (main): Test for VIDIOC_ENUMINPUT. * tests/ioctl.expected: Check VIDIOC_ENUMINPUT decoding. Reported-by: Philippe De Muyter <phdm@macqel.be>
8 lines
427 B
Plaintext
8 lines
427 B
Plaintext
ioctl\(-1, TCGETS, 0x[0-9a-f]+\) += -1 EBADF .*
|
|
ioctl\(-1, MMTIMER_GETRES, 0x[0-9a-f]+\) += -1 EBADF .*
|
|
ioctl\(-1, VIDIOC_ENUMINPUT, 0\) += -1 EBADF .*
|
|
ioctl\(-1, HIDIOCGRDESCSIZE or HIDIOCGVERSION, 0x[0-9a-f]+\) += -1 EBADF .*
|
|
ioctl\(-1, HIDIOCGPHYS\(8\), 0x[0-9a-f]+\) += -1 EBADF .*
|
|
ioctl\(-1, EVIOCGBIT\(EV_KEY, 8\), 0x[0-9a-f]+\) += -1 EBADF .*
|
|
ioctl\(-1, _IOC\(_IOC_READ, 0xde, 0xad, 0x08\), 0x[0-9a-f]+\) += -1 EBADF .*
|