Bruce Evans
372639f944
Fix some bugs found while fixing the representation and translation
...
of 64-bit dev_t's (but not ones involving dev_t's).
st_size was supposed to be clamped in cvtstat() and linux's copy_stat(),
but the clamping code wasn't aware that st_size is signed, and also had
an obfuscated off-by-1 value for the unsigned limit, so its effect was
to produce a bizarre negative size instead of clamping.
Change freebsd32's copy_ostat() to be no worse than cvtstat(). It was
missing clamping and bzero()ing of padding.
Reviewed by: kib (except a final fix of the clamp to the signed maximum)
2018-06-13 08:50:43 +00:00
..
2018-06-13 07:02:58 +00:00
2018-06-08 18:24:46 +00:00
2018-06-12 13:26:31 +00:00
2017-11-20 19:43:44 +00:00
2018-06-05 11:03:24 +00:00
2018-06-08 17:38:28 +00:00
2018-06-13 08:50:43 +00:00
2018-06-12 17:45:15 +00:00
2018-06-08 18:21:57 +00:00
2018-05-19 18:27:14 +00:00
2018-05-25 13:59:48 +00:00
2018-06-13 07:55:57 +00:00
2018-05-04 14:38:48 +00:00
2018-06-12 19:36:32 +00:00
2018-03-06 14:28:37 +00:00
2018-05-09 20:53:38 +00:00
2018-04-20 19:37:08 +00:00
2018-06-12 10:43:20 +00:00
2018-03-11 20:13:15 +00:00
2018-06-13 08:50:43 +00:00
2018-02-14 00:12:03 +00:00
2018-06-04 18:47:14 +00:00
2018-06-08 18:54:47 +00:00
2018-06-12 13:32:42 +00:00
2018-06-11 23:32:06 +00:00
2018-03-30 18:50:13 +00:00
2018-05-24 00:06:55 +00:00
2018-06-13 04:23:49 +00:00
2018-06-12 22:18:20 +00:00
2018-06-08 21:40:03 +00:00
2018-06-09 14:17:06 +00:00
2018-05-09 18:47:24 +00:00
2018-06-12 19:36:32 +00:00
2018-01-25 22:25:13 +00:00
2017-11-27 15:23:17 +00:00
2018-02-10 01:09:22 +00:00
2018-05-23 21:02:14 +00:00
2018-04-19 15:24:21 +00:00
2018-06-12 19:50:33 +00:00
2018-06-12 17:55:40 +00:00
2017-12-25 04:48:39 +00:00
2018-05-30 21:50:23 +00:00
2018-05-24 21:11:28 +00:00
2018-06-12 22:48:19 +00:00
2018-05-29 08:41:44 +00:00
2018-05-18 17:29:43 +00:00
2018-03-24 21:30:24 +00:00
2018-05-19 19:30:42 +00:00
2018-06-08 21:40:03 +00:00
2018-06-10 14:49:13 +00:00
2017-11-27 15:23:17 +00:00
2018-05-25 08:44:00 +00:00
2017-11-14 23:02:19 +00:00