diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 10:41:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 09:51:42 -0700 |
commit | 15582d36a15978355d2168eaa018a3736db7281f (patch) | |
tree | 6ea2b94bb4504cf0d8dffdecbd85a60fe0d69c06 /drivers/char/pty.c | |
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>
Diffstat (limited to 'drivers/char/pty.c')
0 files changed, 0 insertions, 0 deletions