Dima Dorfman
1ee6b74603
Fix fdcheckstd to pass the file descriptor along through vn_open. When
...
opening a device, devfs_open needs the file descriptor to install its
own fileops. Failing to pass the file descriptor causes the vnode to
be returned with the regular vnops, which will cause a panic on the
first read or write because devfs_specops is not meant to support
those operations.
This bug caused a panic after exec'ing any set[ug]id program with
fds 0..2 closed (i.e., if any action had to be taken by fdcheckstd, we
would panic if the exec'd program ever tried to use any of those
descriptors).
Reviewed by: phk
Approved by: re (scottl)
2005-06-25 03:34:49 +00:00
..
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-02-18 00:23:36 +00:00
2005-01-06 23:35:40 +00:00
2005-05-03 10:51:38 +00:00
2005-05-24 22:21:44 +00:00
2005-04-01 20:00:11 +00:00
2005-06-19 02:21:03 +00:00
2005-02-17 10:00:10 +00:00
2005-05-30 15:20:21 +00:00
2005-03-01 08:56:13 +00:00
2004-07-26 07:24:04 +00:00
2005-04-16 12:12:27 +00:00
2005-06-24 00:16:57 +00:00
2004-10-12 18:36:20 +00:00
2005-03-31 10:29:57 +00:00
2005-04-10 19:11:23 +00:00
2005-06-25 03:34:49 +00:00
2005-03-09 12:16:45 +00:00
2005-06-03 23:15:01 +00:00
2005-06-24 00:16:57 +00:00
2005-05-23 23:01:53 +00:00
2005-04-20 13:14:52 +00:00
2005-04-04 21:53:56 +00:00
2005-06-20 19:32:23 +00:00
2005-06-23 22:13:29 +00:00
2005-06-23 21:55:43 +00:00
2005-01-06 23:35:40 +00:00
2005-06-10 23:21:29 +00:00
2005-06-24 12:05:24 +00:00
2005-05-28 23:20:05 +00:00
2005-04-12 05:43:03 +00:00
2005-03-29 08:13:01 +00:00
2005-04-22 19:09:12 +00:00
2005-06-16 16:01:46 +00:00
2005-06-23 04:33:39 +00:00
2005-02-28 21:42:56 +00:00
2005-02-18 22:14:40 +00:00
2005-02-10 12:02:37 +00:00
2005-04-08 14:14:09 +00:00
2005-05-28 14:34:41 +00:00
2005-01-06 23:35:40 +00:00
2005-06-09 19:45:09 +00:00
2005-02-25 22:07:51 +00:00
2005-04-18 02:10:37 +00:00
2005-04-18 13:36:57 +00:00
2005-06-01 17:52:51 +00:00
2005-01-06 23:35:40 +00:00
2005-04-12 05:45:58 +00:00
2005-06-06 05:13:10 +00:00
2005-01-06 23:35:40 +00:00
2005-06-10 03:00:29 +00:00
2005-01-06 23:35:40 +00:00
2005-05-23 23:01:53 +00:00
2004-07-15 08:26:07 +00:00
2005-02-10 12:16:08 +00:00
2005-03-26 20:04:28 +00:00
2005-04-23 02:36:07 +00:00
2005-05-27 04:27:22 +00:00
2005-03-31 22:51:18 +00:00
2005-02-11 00:14:00 +00:00
2005-03-05 09:15:03 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-07 02:29:27 +00:00
2004-08-29 01:21:51 +00:00
2004-08-09 18:46:13 +00:00
2005-01-06 23:35:40 +00:00
2005-05-30 15:09:18 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:20:42 +00:00
2005-03-31 22:54:48 +00:00
2004-12-01 23:16:38 +00:00
2005-06-24 00:16:57 +00:00
2005-06-24 00:16:57 +00:00
2004-07-26 07:24:04 +00:00
2005-01-06 23:35:40 +00:00
2004-06-04 04:03:26 +00:00
2005-06-09 05:50:01 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-05-03 10:58:05 +00:00
2005-06-15 23:32:07 +00:00
2005-02-23 19:32:29 +00:00
2005-03-24 21:20:25 +00:00
2005-04-30 20:01:00 +00:00
2005-02-27 22:02:03 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-01-06 23:35:40 +00:00
2005-04-16 15:07:41 +00:00
2005-01-06 23:35:40 +00:00
2005-06-06 22:18:32 +00:00
2005-03-02 21:33:29 +00:00
2005-05-06 02:50:00 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:02:37 +00:00
2004-04-05 21:03:37 +00:00
2005-05-27 15:57:27 +00:00
2005-04-30 20:01:00 +00:00
2005-05-01 00:38:11 +00:00
2005-03-28 12:52:46 +00:00
2005-02-10 12:02:37 +00:00
2005-03-14 06:51:29 +00:00
2005-06-04 23:24:50 +00:00
2005-03-31 22:51:18 +00:00
2005-01-17 07:56:28 +00:00
2005-03-18 21:22:28 +00:00
2005-04-16 18:46:29 +00:00
2005-05-30 15:20:21 +00:00
2005-05-30 15:09:18 +00:00
2005-01-06 23:35:40 +00:00
2005-02-12 01:22:39 +00:00
2005-06-07 05:03:28 +00:00
2005-05-12 20:04:48 +00:00
2004-06-21 22:57:16 +00:00
2004-07-15 20:47:41 +00:00
2005-02-27 21:52:42 +00:00
2005-03-31 12:19:44 +00:00
2005-01-06 23:35:40 +00:00
2005-03-31 12:19:44 +00:00
2005-04-13 13:56:17 +00:00
2005-06-11 11:59:48 +00:00
2005-06-05 17:13:23 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:02:37 +00:00
2005-05-04 18:55:03 +00:00
2004-04-05 21:03:37 +00:00
2005-06-08 07:29:22 +00:00
2005-05-27 17:16:43 +00:00
2005-05-27 17:16:43 +00:00
2005-06-10 16:49:24 +00:00
2005-05-04 18:55:03 +00:00
2005-05-07 00:41:36 +00:00
2004-07-26 07:24:04 +00:00
2005-06-07 05:28:21 +00:00
2005-06-14 20:32:27 +00:00
2005-06-17 01:05:13 +00:00
2005-05-14 05:09:11 +00:00
2005-06-14 20:32:27 +00:00
2005-05-11 18:25:42 +00:00
2005-06-23 22:13:29 +00:00
2005-04-07 07:54:08 +00:00
2005-02-20 23:02:20 +00:00
2005-04-13 23:36:28 +00:00
2005-05-18 22:05:12 +00:00
2005-06-18 18:17:03 +00:00
2005-06-23 22:13:29 +00:00
2005-06-14 01:14:40 +00:00
2005-06-09 20:20:31 +00:00