This is incorrect. The fd returned by the open() of /dev/ptmx is
supposed to be the pty master. The conventional-device implementation
gets it right; the bug is in devfs.
Richard: please fix devfs. There should be no /dev/ptm directory, and
opening /dev/ptmx should get you a pty master. See the Unix98
standard (available somewhere at xopen.org).
zw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/