commit | 15582d36a15978355d2168eaa018a3736db7281f | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Mon Oct 13 10:41:03 2008 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 13 09:51:42 2008 -0700 |
tree | 6ea2b94bb4504cf0d8dffdecbd85a60fe0d69c06 | |
parent | dbda4c0b97b18fd59b3964548361b4f92357f730 [diff] |
pty: If the administrator creates a device for a ptmx slave we should not error The open path for ptmx slaves is via the ptmx device. Opening them any other way is not allowed. Vegard Nossum found that previously this was not the case and mknod foo c 128 42; cat foo would produce nasty diagnostics Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>