jhb 506e2f15b9 Export some more useful info about shared memory objects to userland
via procstat(1) and fstat(1):
- Change shm file descriptors to track the pathname they are associated
  with and add a shm_path() method to copy the path out to a caller-supplied
  buffer.
- Use the fo_stat() method of shared memory objects and shm_path() to
  export the path, mode, and size of a shared memory object via
  struct kinfo_file.
- Add a struct shmstat to the libprocstat(3) interface along with a
  procstat_get_shm_info() to export the mode and size of a shared memory
  object.
- Change procstat to always print out the path for a given object if it
  is valid.
- Teach fstat about shared memory objects and to display their path,
  mode, and size.

MFC after:	2 weeks
2012-04-01 18:22:48 +00:00
..
2012-02-25 10:58:02 +00:00
2011-11-06 20:30:21 +00:00
2011-11-06 08:13:58 +00:00
2012-02-14 10:11:45 +00:00
2011-11-06 08:14:16 +00:00
2011-11-06 08:14:22 +00:00
2012-02-25 10:58:02 +00:00
2012-01-12 22:12:42 +00:00
2011-11-06 08:14:51 +00:00
2010-02-09 10:47:44 +00:00
2012-02-28 22:15:46 +00:00
2012-01-15 17:01:28 +00:00
2012-03-26 15:18:14 +00:00
2011-11-06 09:09:45 +00:00
2011-12-30 11:02:40 +00:00
2012-03-25 09:19:25 +00:00
2012-02-24 20:12:53 +00:00
2012-03-26 15:18:14 +00:00
2011-01-26 06:36:14 +00:00
2011-06-21 20:36:10 +00:00
2011-06-18 13:56:33 +00:00
2011-12-30 11:02:40 +00:00
2012-02-14 10:11:45 +00:00
2011-10-16 08:04:43 +00:00
2012-03-26 19:23:57 +00:00
2010-03-22 21:19:17 +00:00
2011-05-25 14:13:53 +00:00
2011-05-13 09:55:48 +00:00
2010-10-19 00:01:53 +00:00
2011-12-30 11:02:40 +00:00
2010-06-02 10:20:23 +00:00
2011-10-14 07:28:39 +00:00
2011-12-30 11:02:40 +00:00
2012-03-29 16:07:22 +00:00
2011-12-30 11:02:40 +00:00
2011-11-06 08:16:35 +00:00
2010-12-20 08:47:43 +00:00
2011-11-06 08:17:05 +00:00
2011-10-16 09:09:33 +00:00
2012-02-05 09:17:49 +00:00
2012-02-25 10:58:02 +00:00
2012-03-26 15:18:14 +00:00
2011-11-06 08:17:53 +00:00
2012-03-26 15:18:14 +00:00
2012-03-25 09:19:25 +00:00
2012-03-26 15:18:14 +00:00
2011-11-06 08:18:42 +00:00
2011-11-06 08:18:47 +00:00
2012-03-21 08:03:07 +00:00
2011-11-06 08:19:00 +00:00
2011-10-16 08:04:43 +00:00
2011-12-30 11:02:40 +00:00
2010-06-19 16:24:55 +00:00