phk
aaaac2aa6c
With the new kernel dev_t conversions done at release 4.X,
...
it becomes possible to trap in ptsstop() in kern/tty_pty.c
if the slave side has never been opened during the life of a kernel.
What happens is that calls to ttyflush() done from ptyioctl() for the
controlling side end up calling ptsstop() [via (*tp->t_stop)(tp, <X>)]
which evaluates the following:
struct pt_ioctl *pti = tp->t_dev->si_drv1;
In order for tp->t_dev to be set, the slave device must first be
opened in ttyopen() [kern/tty.c].
It appears that the only problem is calls to (*tp->t_stop)(tp, <n>),
so this could also happen with other ioctls initiated by the
controlling side before the slave has been opened.
PR: 27698
Submitted by: David Bein bein@netapp.com
MFC after: 6 days
2001-05-28 20:22:12 +00:00
..
2000-11-28 06:49:15 +00:00
2001-01-28 06:39:56 +00:00
2001-04-13 09:37:25 +00:00
2001-05-19 01:28:09 +00:00
2001-05-23 22:05:08 +00:00
2001-05-01 08:13:21 +00:00
2001-05-25 16:59:11 +00:00
2001-05-19 01:37:12 +00:00
2001-05-25 16:59:11 +00:00
2001-04-29 19:53:50 +00:00
2000-10-29 13:57:19 +00:00
2001-05-15 23:22:29 +00:00
2001-05-01 08:13:21 +00:00
2001-05-26 08:27:58 +00:00
2001-05-25 16:59:11 +00:00
2000-07-04 11:25:35 +00:00
2001-05-01 08:13:21 +00:00
2001-05-26 19:59:44 +00:00
2001-05-25 16:59:11 +00:00
2001-05-25 16:59:11 +00:00
2001-05-10 17:45:49 +00:00
2001-05-17 22:43:26 +00:00
2001-02-21 06:39:57 +00:00
2001-03-28 11:52:56 +00:00
2001-03-28 03:06:10 +00:00
2001-05-25 16:59:11 +00:00
2001-03-22 08:58:45 +00:00
2001-04-28 12:11:01 +00:00
2001-05-01 08:13:21 +00:00
2001-05-01 08:13:21 +00:00
2001-04-27 19:28:25 +00:00
2001-02-04 13:13:25 +00:00
2001-05-04 17:15:16 +00:00
2001-04-16 13:05:05 +00:00
2001-05-25 16:59:11 +00:00
2001-05-27 21:43:46 +00:00
2000-11-18 21:01:04 +00:00
2001-05-19 01:28:09 +00:00
2001-04-29 02:45:39 +00:00
2001-05-25 16:59:11 +00:00
2001-05-01 08:13:21 +00:00
2001-03-28 09:17:56 +00:00
2001-05-04 17:15:16 +00:00
2001-05-23 19:38:26 +00:00
2000-12-01 08:57:47 +00:00
2001-05-19 05:45:55 +00:00
2001-01-01 23:09:53 +00:00
2001-05-01 08:13:21 +00:00
2001-03-28 09:17:56 +00:00
2001-03-24 04:40:49 +00:00
2001-05-01 08:13:21 +00:00
2001-02-25 07:25:05 +00:00
2001-05-19 01:28:09 +00:00
2001-05-19 01:28:09 +00:00
2001-05-25 08:14:14 +00:00
2001-05-23 09:42:29 +00:00
2001-04-07 20:51:24 +00:00
2000-12-01 08:47:54 +00:00
2001-04-10 07:59:06 +00:00
2000-09-29 13:36:47 +00:00
2001-05-25 16:59:11 +00:00
2001-04-29 19:53:50 +00:00
2000-05-26 02:09:24 +00:00
2001-05-19 01:28:09 +00:00
2001-01-08 22:16:26 +00:00
2001-03-27 10:21:26 +00:00
2001-02-04 16:08:18 +00:00
2001-05-28 16:12:55 +00:00
2001-05-26 08:27:58 +00:00
2001-05-26 08:27:58 +00:00
2001-05-26 08:27:58 +00:00
2001-05-01 08:13:21 +00:00
2000-12-08 21:51:06 +00:00
2001-05-23 19:02:50 +00:00
2001-02-25 06:33:50 +00:00
2001-02-18 10:43:53 +00:00
2000-10-29 16:57:42 +00:00
2001-05-10 17:45:49 +00:00
2001-01-10 04:43:51 +00:00
2001-05-15 23:22:29 +00:00
2001-05-28 01:00:03 +00:00
2001-03-27 05:45:52 +00:00
2001-05-10 17:45:49 +00:00
2001-05-16 02:52:06 +00:00
2001-05-23 22:58:09 +00:00
2001-05-04 17:15:16 +00:00
2001-05-17 22:44:56 +00:00
2001-02-15 16:34:11 +00:00
2001-05-15 10:19:57 +00:00
2001-05-24 18:06:22 +00:00
2001-05-23 09:42:29 +00:00
2001-02-15 16:34:11 +00:00
2001-05-19 01:37:12 +00:00
2001-05-19 01:28:09 +00:00
2000-12-01 08:57:47 +00:00
2001-02-21 06:39:57 +00:00
2001-02-21 06:39:57 +00:00
2001-05-23 23:38:05 +00:00
2001-03-26 12:41:29 +00:00
2001-05-28 20:22:12 +00:00
2001-05-22 22:13:14 +00:00
2001-03-27 10:21:26 +00:00
2001-05-15 18:12:38 +00:00
2001-05-22 22:16:18 +00:00
2000-10-29 13:57:19 +00:00
2000-11-27 22:52:31 +00:00
2001-05-01 08:13:21 +00:00
2001-05-23 20:44:54 +00:00
2001-05-01 08:13:21 +00:00
2001-05-01 08:13:21 +00:00
2001-05-01 08:13:21 +00:00
2001-05-25 19:23:04 +00:00
2001-05-25 16:59:11 +00:00
2001-04-29 19:53:50 +00:00
2001-04-18 22:18:39 +00:00
2001-05-24 07:22:27 +00:00
2001-05-01 08:13:21 +00:00
2001-05-24 07:22:27 +00:00
2001-05-01 08:13:21 +00:00
2001-05-23 19:51:12 +00:00
2001-04-26 20:47:14 +00:00
2001-05-25 16:59:11 +00:00
2001-04-29 02:45:39 +00:00
2001-05-01 08:13:21 +00:00
2001-05-01 08:13:21 +00:00
2001-05-19 01:28:09 +00:00
2001-05-25 16:59:11 +00:00
2001-05-24 07:22:27 +00:00
2001-03-23 11:48:50 +00:00
2001-04-29 12:36:52 +00:00