bde
a3c257601f
Don't dump on the label sector or below. This avoids clobbering the
...
label if the dump device overflaps the label (which is a slight
misconfiguration). Dump routines don't use dscheck(), so the normal
write protection of the label doesn't help.
Reduced some nearby overflow bugs. In disk_dumpcheck(), there was
(fatal but fail-safe) overflow on i386's with 4GB of memory, at least
if Maxmem was the top page (can this happen?). The fix assumes that
the sector size divides PAGE_SIZE (dump routines already assume this).
In setdumpdev(), the corresponding overflow occurred with only about
2GB of memory on all machines with 32-bit ints. This allowed setdumpdev()
to succeed when it shouldn't have, but then disk_dumpcheck() failed
safe later. Except in old versions of FreeBSD like RELENG_3 where
there is no disk_dumpcheck().
PR: 28164 (label clobbering part)
MFC after: 1 week
2001-08-15 11:35:45 +00:00
..
2001-01-28 06:39:56 +00:00
2001-07-04 16:20:28 +00:00
2001-07-04 16:20:28 +00:00
2001-05-01 08:13:21 +00:00
2001-07-04 16:20:28 +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
2001-08-10 22:53:32 +00:00
2001-07-06 01:16:43 +00:00
2001-08-02 20:35:35 +00:00
2001-08-06 05:56:33 +00:00
2001-06-15 07:29:17 +00:00
2001-07-19 18:34:40 +00:00
2001-07-11 02:04:43 +00:00
2001-08-09 01:21:58 +00:00
2001-07-09 19:00:08 +00:00
2001-05-10 17:45:49 +00:00
2001-08-10 22:53:32 +00:00
2001-08-03 18:21:06 +00:00
2001-07-19 02:18:54 +00:00
2001-06-25 23:09:31 +00:00
2001-07-05 17:10:46 +00:00
2001-07-31 03:51:07 +00:00
2001-08-10 23:29:15 +00:00
2001-05-01 08:13:21 +00:00
2001-08-10 06:45:43 +00:00
2001-07-27 15:52:49 +00:00
2001-02-04 13:13:25 +00:00
2001-07-31 17:45:50 +00:00
2001-04-16 13:05:05 +00:00
2001-07-05 17:10:46 +00:00
2001-07-31 17:25:12 +00:00
2001-07-22 00:21:19 +00:00
2001-08-14 22:13:14 +00:00
2001-08-15 11:35:45 +00:00
2001-08-01 20:35:24 +00:00
2001-07-03 15:58:37 +00:00
2001-07-04 20:00:48 +00:00
2001-08-13 21:25:30 +00:00
2001-08-10 22:53:32 +00:00
2001-07-25 17:21:18 +00:00
2001-01-01 23:09:53 +00:00
2001-05-01 08:13:21 +00:00
2001-08-10 21:06:59 +00:00
2001-03-24 04:40:49 +00:00
2001-08-10 22:53:32 +00:00
2001-06-13 10:58:39 +00:00
2001-08-10 23:15:13 +00:00
2001-08-10 23:15:13 +00:00
2001-06-13 10:58:39 +00:00
2001-06-01 10:07:28 +00:00
2001-06-01 10:07:28 +00:00
2001-07-22 10:24:31 +00:00
2001-04-10 07:59:06 +00:00
2001-07-05 17:10:46 +00:00
2001-04-29 19:53:50 +00:00
2001-07-04 16:20:28 +00:00
2001-07-14 08:25:18 +00:00
2001-03-27 10:21:26 +00:00
2001-08-04 18:02:47 +00:00
2001-08-15 11:35:45 +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-07-31 03:52:16 +00:00
2001-07-14 00:23:10 +00:00
2000-12-08 21:51:06 +00:00
2001-05-23 19:02:50 +00:00
2001-08-03 05:05:32 +00:00
2001-02-25 06:33:50 +00:00
2001-02-18 10:43:53 +00:00
2001-07-26 23:04:03 +00:00
2001-05-10 17:45:49 +00:00
2001-07-03 19:44:07 +00:00
2001-08-10 22:53:32 +00:00
2001-05-28 01:00:03 +00:00
2001-07-03 21:46:43 +00:00
2001-08-10 22:53:32 +00:00
2001-05-16 02:52:06 +00:00
2001-08-10 22:53:32 +00:00
2001-07-31 17:45:50 +00:00
2001-08-10 22:33:59 +00:00
2001-02-15 16:34:11 +00:00
2001-05-15 10:19:57 +00:00
2001-07-04 17:11:03 +00:00
2001-08-08 05:25:15 +00:00
2001-07-25 20:15:28 +00:00
2001-05-19 01:37:12 +00:00
2001-05-29 09:22:22 +00:00
2001-07-30 19:28:02 +00:00
2001-05-30 03:28:59 +00:00
2001-07-04 16:20:28 +00:00
2001-06-04 23:30:47 +00:00
2001-06-13 10:58:39 +00:00
2001-06-18 09:22:30 +00:00
2001-03-27 10:21:26 +00:00
2001-05-15 18:12:38 +00:00
2001-08-04 18:09:24 +00:00
2001-06-01 21:47:34 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-22 06:35:32 +00:00
2001-06-29 04:01:38 +00:00
2001-06-29 04:01:38 +00:00
2001-05-01 08:13:21 +00:00
2001-07-04 16:20:28 +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-07-27 15:57:17 +00:00
2001-05-01 08:13:21 +00:00
2001-07-04 16:20:28 +00:00
2001-05-01 08:13:21 +00:00
2001-07-04 16:20:28 +00:00
2001-05-29 17:46:52 +00:00
2001-08-10 22:14:18 +00:00
2001-04-29 02:45:39 +00:00
2001-06-24 05:24:41 +00:00
2001-05-01 08:13:21 +00:00
2001-07-27 15:57:17 +00:00
2001-08-10 22:14:18 +00:00
2001-05-24 07:22:27 +00:00
2001-03-23 11:48:50 +00:00
2001-07-24 16:16:00 +00:00