1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin/fstat
John Baldwin e506e182dd 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
..
fstat.1 Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
fstat.c Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
functions.h - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
fuser.1 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
fuser.c Mark global functions and/or variables in fstat(1) static where possible. 2011-11-06 18:49:36 +00:00
main.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
Makefile - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00