Konstantin Belousov
6b72d8db47
Revert r192094. The revision caused problems for sysctl(3) consumers
...
that expect that oldlen is filled with required buffer length even when
supplied buffer is too short and returned error is ENOMEM.
Redo the fix for kern.proc.filedesc, by reverting the req->oldidx when
remaining buffer space is too short for the current kinfo_file structure.
Also, only ignore ENOMEM. We have to convert ENOMEM to no error condition
to keep existing interface for the sysctl, though.
Reported by: ed, Florian Smeets <flo kasimir com>
Tested by: pho
2009-05-15 14:41:44 +00:00
..
2008-11-18 21:01:54 +00:00
2008-01-18 17:02:14 +00:00
2008-11-22 12:36:15 +00:00
2009-04-05 09:27:19 +00:00
2008-01-13 14:44:15 +00:00
2008-08-28 15:23:18 +00:00
2009-05-08 14:11:06 +00:00
2009-04-29 21:50:13 +00:00
2009-05-11 15:33:26 +00:00
2009-04-10 10:52:19 +00:00
2009-01-17 07:17:57 +00:00
2009-02-26 13:00:13 +00:00
2009-04-15 20:43:12 +00:00
2009-02-26 13:01:45 +00:00
2008-12-16 01:24:05 +00:00
2009-04-28 21:00:50 +00:00
2008-05-23 03:04:27 +00:00
2009-05-15 14:41:44 +00:00
2008-06-16 04:44:29 +00:00
2009-03-23 00:00:50 +00:00
2008-10-23 20:26:15 +00:00
2009-03-17 12:53:28 +00:00
2009-05-08 14:11:06 +00:00
2009-05-08 14:11:06 +00:00
2008-03-16 10:58:09 +00:00
2008-09-23 14:25:56 +00:00
2009-05-08 14:11:06 +00:00
2008-08-03 21:07:19 +00:00
2009-04-10 10:52:19 +00:00
2009-05-08 14:34:25 +00:00
2009-05-12 17:05:40 +00:00
2008-11-27 04:40:37 +00:00
2009-05-09 19:00:47 +00:00
2009-01-01 20:03:01 +00:00
2009-05-08 14:11:06 +00:00
2008-12-05 16:47:30 +00:00
2008-10-23 20:26:15 +00:00
2009-03-15 08:03:54 +00:00
2008-03-16 10:58:09 +00:00
2009-05-05 05:49:08 +00:00
2008-09-22 10:37:02 +00:00
2009-03-15 14:21:05 +00:00
2009-03-03 17:15:05 +00:00
2009-02-18 21:52:13 +00:00
2009-05-08 14:11:06 +00:00
2008-10-24 01:09:24 +00:00
2009-04-26 21:16:03 +00:00
2009-03-15 08:03:54 +00:00
2008-05-18 19:32:36 +00:00
2009-04-04 02:12:37 +00:00
2009-04-10 10:52:19 +00:00
2008-08-28 19:34:58 +00:00
2008-05-12 06:42:06 +00:00
2009-03-15 08:03:54 +00:00
2009-02-26 15:51:54 +00:00
2008-09-18 20:10:11 +00:00
2009-05-15 14:41:44 +00:00
2009-04-11 22:01:40 +00:00
2009-02-26 15:51:54 +00:00
2009-03-15 06:41:47 +00:00
2009-04-10 10:52:19 +00:00
2009-01-24 10:22:49 +00:00
2009-04-13 05:21:17 +00:00
2009-04-19 21:36:18 +00:00
2009-05-08 14:11:06 +00:00
2008-12-29 19:24:00 +00:00
2007-06-05 00:00:57 +00:00
2009-02-10 15:50:19 +00:00
2009-02-10 15:50:19 +00:00
2008-05-23 04:06:49 +00:00
2008-12-01 14:34:42 +00:00
2007-12-14 21:30:51 +00:00
2008-09-25 20:07:42 +00:00
2008-03-12 10:12:01 +00:00
2009-01-25 07:35:10 +00:00
2009-04-29 23:04:31 +00:00
2008-06-26 07:52:45 +00:00
2008-10-28 21:58:48 +00:00
2009-02-03 07:52:07 +00:00
2008-10-23 15:53:51 +00:00
2008-11-22 05:55:56 +00:00
2009-03-25 17:02:05 +00:00
2009-02-09 11:27:56 +00:00
2008-04-22 19:38:30 +00:00
2009-02-03 07:54:42 +00:00
2009-02-13 11:36:32 +00:00
2008-03-16 10:58:09 +00:00
2009-02-03 07:51:11 +00:00
2009-05-09 19:08:22 +00:00
2009-02-03 07:54:42 +00:00
2009-03-15 06:41:47 +00:00
2008-03-16 10:58:09 +00:00
2007-05-27 17:38:36 +00:00
2008-03-25 09:39:02 +00:00
2009-03-23 20:18:06 +00:00
2009-05-05 10:56:12 +00:00
2009-02-27 13:28:54 +00:00
2009-02-03 07:52:36 +00:00
2009-02-03 07:53:08 +00:00
2009-03-23 21:16:21 +00:00
2008-08-09 10:26:21 +00:00
2008-12-01 01:54:55 +00:00
2009-04-29 03:15:43 +00:00
2008-10-30 21:48:28 +00:00
2009-02-13 18:51:39 +00:00
2008-12-13 13:07:12 +00:00
2008-09-15 22:45:14 +00:00
2007-07-04 06:56:58 +00:00
2009-04-29 19:19:13 +00:00
2009-05-14 03:24:22 +00:00
2009-03-10 21:28:43 +00:00
2009-03-02 18:43:50 +00:00
2009-05-05 10:56:12 +00:00
2009-04-29 21:50:13 +00:00
2009-04-29 21:14:15 +00:00
2009-04-29 21:50:13 +00:00
2007-06-12 00:12:01 +00:00
2007-10-24 19:04:04 +00:00
2009-03-30 15:01:29 +00:00
2009-03-05 11:45:42 +00:00
2008-09-04 16:30:53 +00:00
2009-02-28 14:20:26 +00:00
2009-02-26 10:28:32 +00:00
2009-02-26 10:28:32 +00:00
2009-04-25 10:05:55 +00:00
2009-02-26 10:14:10 +00:00
2008-06-03 12:38:00 +00:00
2009-05-07 17:39:23 +00:00
2009-05-14 03:24:22 +00:00
2008-10-23 15:53:51 +00:00
2009-01-03 13:24:08 +00:00
2009-02-09 18:19:58 +00:00
2009-04-11 05:58:58 +00:00
2007-10-24 19:04:04 +00:00
2009-01-18 20:19:55 +00:00
2009-05-11 15:33:26 +00:00
2009-03-12 10:36:39 +00:00
2008-12-01 22:33:50 +00:00
2009-04-21 19:14:13 +00:00
2009-05-08 14:34:25 +00:00
2009-05-14 03:24:22 +00:00
2009-05-05 10:56:12 +00:00
2009-04-19 09:56:30 +00:00
2009-01-23 13:23:17 +00:00
2009-05-13 05:39:39 +00:00
2009-04-17 18:11:11 +00:00
2008-03-22 09:15:16 +00:00
2009-05-11 15:33:26 +00:00
2009-05-11 15:33:26 +00:00
2009-05-11 15:33:26 +00:00
2008-03-16 10:58:09 +00:00
2009-02-06 14:51:32 +00:00
2009-05-11 16:32:58 +00:00
2009-05-11 15:33:26 +00:00
2009-05-11 15:33:26 +00:00
2009-05-14 03:24:22 +00:00
2009-05-11 15:33:26 +00:00
2009-04-10 10:52:19 +00:00