This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag because it doesn't copy anything from/to userspace to access the argument.
Showing the changes to include/uapi (1 of 8 files). Show all
Unified · Split
| @@ -77,7 +77,7 @@ · 76 unmodified lines | |||
| 77 | #define TIOCGPKT _IOR('T', 0x38, int) /* Get packet mode state */ | 77 | #define TIOCGPKT _IOR('T', 0x38, int) /* Get packet mode state */ |
| 78 | #define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */ | 78 | #define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */ |
| 79 | #define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */ | 79 | #define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */ |
| 80 | #define TIOCGPTPEER _IOR('T', 0x41, int) /* Safely open the slave */ | 80 | #define TIOCGPTPEER _IO('T', 0x41) /* Safely open the slave */ |
| 81 | 81 | ||
| 82 | #define FIONCLEX 0x5450 | 82 | #define FIONCLEX 0x5450 |
| 83 | #define FIOCLEX 0x5451 | 83 | #define FIOCLEX 0x5451 |