Don Lewis
5032ff8197
Always wire the sysctl output buffer in sysctl_kern_proc() before
...
calling sysctl_out_proc(). -- fix from jhb
Move the code in fill_kinfo_thread() that gathers data from struct proc
into the new function fill_kinfo_proc_only().
Change all callers of fill_kinfo_thread() to call both
fill_kinfo_proc_only() and fill_kinfo() thread. When gathering
data from a multi-threaded process, fill_kinfo_proc_only() only needs
to be called once.
Grab sched_lock before accessing the process thread list or calling
fill_kinfo_thread().
PR: kern/84684
MFC after: 3 days
2005-10-02 23:27:56 +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-09-28 07:03:03 +00:00
2005-04-01 20:00:11 +00:00
2005-06-19 02:21:03 +00:00
2005-09-19 13:59:57 +00:00
2005-09-27 14:36:59 +00:00
2005-09-21 15:28:07 +00:00
2005-09-17 22:01:14 +00:00
2005-04-16 12:12:27 +00:00
2005-06-30 17:17:29 +00:00
2004-10-12 18:36:20 +00:00
2005-10-01 19:21:03 +00:00
2005-09-02 16:32:43 +00:00
2005-08-26 11:16:39 +00:00
2005-09-26 14:14:55 +00:00
2005-09-15 21:10:12 +00:00
2005-10-01 08:33:56 +00:00
2005-09-02 20:20:01 +00:00
2005-07-01 16:28:32 +00:00
2005-04-04 21:53:56 +00:00
2005-09-15 20:08:21 +00:00
2005-09-28 00:30:56 +00:00
2005-09-30 06:09:41 +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-10-02 10:03:51 +00:00
2005-03-29 08:13:01 +00:00
2005-07-14 10:46:03 +00:00
2005-08-02 20:03:23 +00:00
2005-09-27 20:28:43 +00:00
2005-08-21 18:03:31 +00:00
2005-02-18 22:14:40 +00:00
2005-02-10 12:02:37 +00:00
2005-09-02 20:21:49 +00:00
2005-05-28 14:34:41 +00:00
2005-01-06 23:35:40 +00:00
2005-07-30 09:02:42 +00:00
2005-10-01 18:56:19 +00:00
2005-10-02 23:27:56 +00:00
2005-09-27 18:09:42 +00:00
2005-09-27 18:07:05 +00:00
2005-01-06 23:35:40 +00:00
2005-09-22 15:34:15 +00:00
2005-06-06 05:13:10 +00:00
2005-01-06 23:35:40 +00:00
2005-08-03 01:23:45 +00:00
2005-01-06 23:35:40 +00:00
2005-05-23 23:01:53 +00:00
2005-08-08 21:06:42 +00:00
2005-09-19 22:16:31 +00:00
2005-07-10 23:31:11 +00:00
2005-09-30 06:09:41 +00:00
2005-03-31 22:51:18 +00:00
2005-09-15 20:20:36 +00:00
2005-03-05 09:15:03 +00:00
2005-09-18 21:40:15 +00:00
2005-01-06 23:35:40 +00:00
2005-01-07 02:29:27 +00:00
2005-08-28 05:38:40 +00:00
2005-08-28 04:50:11 +00:00
2005-01-06 23:35:40 +00:00
2005-07-13 20:50:17 +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-09-22 01:19:37 +00:00
2005-09-17 22:01:14 +00:00
2005-01-06 23:35:40 +00:00
2005-09-24 19:31:10 +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-07-31 10:46:55 +00:00
2005-09-27 21:12:05 +00:00
2005-08-07 02:20:35 +00:00
2005-02-27 22:02:03 +00:00
2005-01-06 23:35:40 +00:00
2005-07-29 13:22:37 +00:00
2005-01-06 23:35:40 +00:00
2005-04-16 15:07:41 +00:00
2005-09-26 16:55:11 +00:00
2005-09-26 08:02:24 +00:00
2005-03-02 21:33:29 +00:00
2005-09-28 18:06:25 +00:00
2005-01-06 23:35:40 +00:00
2005-02-10 12:02:37 +00:00
2005-09-15 19:05:37 +00:00
2005-06-30 03:38:10 +00:00
2005-08-29 11:34:08 +00:00
2005-05-01 00:38:11 +00:00
2005-03-28 12:52:46 +00:00
2005-09-29 19:13:52 +00:00
2005-03-14 06:51:29 +00:00
2005-09-26 18:30:12 +00:00
2005-07-07 18:17:55 +00:00
2005-07-01 16:28:32 +00:00
2005-08-19 13:35:34 +00:00
2005-04-16 18:46:29 +00:00
2005-09-27 14:36:59 +00:00
2005-09-27 14:32:04 +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-08-06 07:20:18 +00:00
2005-02-27 21:52:42 +00:00
2005-08-08 19:55:32 +00:00
2005-01-06 23:35:40 +00:00
2005-08-08 19:55:32 +00:00
2005-07-01 16:28:32 +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-07-17 14:04:03 +00:00
2005-08-30 21:31:42 +00:00
2005-06-08 07:29:22 +00:00
2005-09-18 10:30:10 +00:00
2005-09-18 10:30:10 +00:00
2005-09-18 21:08:03 +00:00
2005-07-05 22:49:10 +00:00
2005-09-23 12:41:06 +00:00
2005-09-17 22:01:14 +00:00
2005-07-20 19:06:06 +00:00
2005-09-30 18:07:41 +00:00
2005-06-17 01:05:13 +00:00
2005-08-13 20:21:33 +00:00
2005-08-17 06:59:23 +00:00
2005-09-27 18:09:42 +00:00
2005-09-24 23:47:04 +00:00
2005-09-12 01:48:57 +00:00
2005-02-20 23:02:20 +00:00
2005-09-21 19:49:42 +00:00
2005-09-02 13:37:54 +00:00
2005-09-30 01:30:01 +00:00
2005-09-24 23:47:04 +00:00
2005-08-03 04:48:22 +00:00
2005-06-09 20:20:31 +00:00