strace/xlat/ioctl_dirs.in
Eugene Syromyatnikov 1d5a776f63 xlat: add fallback values for ioctl_dirs
* xlat/ioctl_dirs.in: Add fallback values.
2018-09-24 08:06:42 +02:00

19 lines
444 B
Plaintext

/* Generated by maint/gen_xlat_defs.sh -f 'u' -p '_IOC_' -c 'asm-generic/ioctl.h' -a 'asm/ioctl.h' */
#if defined __alpha__ || defined __mips__ || defined __powerpc__ || defined __sparc__
_IOC_NONE 1
#else
_IOC_NONE 0
#endif
#if defined __hppa__
_IOC_READ 1
#else
_IOC_READ 2
#endif
#if defined __hppa__
_IOC_WRITE 2
#elif defined __alpha__ || defined __mips__ || defined __powerpc__ || defined __sparc__
_IOC_WRITE 4
#else
_IOC_WRITE 1
#endif