diff options
author | ed <ed@FreeBSD.org> | 2008-07-23 17:47:44 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-07-23 17:47:44 +0000 |
commit | 6b178cd86d1b89e0750a8253263480cab5f10928 (patch) | |
tree | 1bd233c2f53f8d0bd0e2e97c8dea18a7ab1ab3b8 /sys/compat/linux/linux_ioctl.h | |
parent | fea35767ddb3f5721670fd3cd4782833964eb7bb (diff) | |
download | FreeBSD-src-6b178cd86d1b89e0750a8253263480cab5f10928.zip FreeBSD-src-6b178cd86d1b89e0750a8253263480cab5f10928.tar.gz |
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/...)
Diffstat (limited to 'sys/compat/linux/linux_ioctl.h')
-rw-r--r-- | sys/compat/linux/linux_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |