svn commit: r273460 - stable/10/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Wed Oct 22 09:04:57 UTC 2014
Author: kib
Date: Wed Oct 22 09:04:56 2014
New Revision: 273460
URL: https://svnweb.freebsd.org/changeset/base/273460
Log:
MFC r273129:
Implement FIODTYPE for master ptys.
Modified:
stable/10/sys/kern/tty_pts.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/kern/tty_pts.c
==============================================================================
--- stable/10/sys/kern/tty_pts.c Wed Oct 22 08:59:23 2014 (r273459)
+++ stable/10/sys/kern/tty_pts.c Wed Oct 22 09:04:56 2014 (r273460)
@@ -269,6 +269,9 @@ ptsdev_ioctl(struct file *fp, u_long cmd
int error = 0, sig;
switch (cmd) {
+ case FIODTYPE:
+ *(int *)data = D_TTY;
+ return (0);
case FIONBIO:
/* This device supports non-blocking operation. */
return (0);
More information about the svn-src-stable-10
mailing list