linux: Improve debugging by recognizing TIOCGPTPEER
Sponsored By: EPSRC
This commit is contained in:
parent
c0ba4c2ee2
commit
1866c766d2
@ -1020,6 +1020,10 @@ linux_ioctl_termio(struct thread *td, struct linux_ioctl_args *args)
|
|||||||
sizeof(int));
|
sizeof(int));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case LINUX_TIOCGPTPEER:
|
||||||
|
linux_msg(td, "unsupported ioctl TIOCGPTPEER");
|
||||||
|
error = ENOIOCTL;
|
||||||
|
break;
|
||||||
case LINUX_TIOCSPTLCK:
|
case LINUX_TIOCSPTLCK:
|
||||||
/* Our unlockpt() does nothing. */
|
/* Our unlockpt() does nothing. */
|
||||||
error = 0;
|
error = 0;
|
||||||
|
@ -386,6 +386,8 @@
|
|||||||
#define LINUX_TIOCGPTN 0x5430
|
#define LINUX_TIOCGPTN 0x5430
|
||||||
#define LINUX_TIOCSPTLCK 0x5431
|
#define LINUX_TIOCSPTLCK 0x5431
|
||||||
|
|
||||||
|
#define LINUX_TIOCGPTPEER 0x5441
|
||||||
|
|
||||||
#define LINUX_FIONCLEX 0x5450
|
#define LINUX_FIONCLEX 0x5450
|
||||||
#define LINUX_FIOCLEX 0x5451
|
#define LINUX_FIOCLEX 0x5451
|
||||||
#define LINUX_FIOASYNC 0x5452
|
#define LINUX_FIOASYNC 0x5452
|
||||||
|
Loading…
Reference in New Issue
Block a user