diff options
| author | martin <martin@NetBSD.org> | 2011-04-09 06:34:06 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2011-04-09 06:34:06 +0000 |
| commit | f3d1d739eade435d2bde3eed005607ec2086f178 (patch) | |
| tree | a93b39e01768d2d5eac71f44989afbd15e25421b /tests/kernel | |
| parent | 80d5b8d13222f04486a6074fab2fc0acbb9a1879 (diff) | |
In ttymalloc() explicitly initialize t_dev to NODEV.
In ptcwakeup() do not bother to wake up a client side if it has not been
opened yet.
The old code would spuriously wakeup the client minor(0) [i.e. ttyp0
typically] or crash the kernel if that wasn't open, see PR kern/40688.
(Old names used to match the PR and test case, adjust names for
/dev/ptm[x] resp. /dev/pts/* accordingly)
Diffstat (limited to 'tests/kernel')
0 files changed, 0 insertions, 0 deletions
