From 6b178cd86d1b89e0750a8253263480cab5f10928 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 23 Jul 2008 17:47:44 +0000 Subject: Add TIOCPKT and TIOCSPTLCK to the Linuxolator. We're very lucky, because the flags used by our TIOCPKT implementation are the same as flags used by Linux. We can safely enable TIOCPKT, assuming EXTPROC is not used. TIOCSPTLCK is used by unlockpt(). Because we don't need unlockpt() in our implementation, make this ioctl a no-op. Approved by: philip (mentor, implicit), rdivacky Obtained from: P4 (//depot/projects/mpsafetty/...) --- sys/compat/linux/linux_ioctl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/compat/linux/linux_ioctl.h') diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h index 2302a8c..2192127 100644 --- a/sys/compat/linux/linux_ioctl.h +++ b/sys/compat/linux/linux_ioctl.h @@ -368,6 +368,7 @@ #define LINUX_TIOCCBRK 0x5428 #define LINUX_TIOCGPTN 0x5430 +#define LINUX_TIOCSPTLCK 0x5431 #define LINUX_FIONCLEX 0x5450 #define LINUX_FIOCLEX 0x5451 -- cgit v1.1