1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/lib/libprocstat
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
..
zfs
cd9660.c
common_kvm.c
common_kvm.h
libprocstat_internal.h
libprocstat.3 Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
libprocstat.c Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
libprocstat.h Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
Makefile
msdosfs.c
ntfs.c
nwfs.c
smbfs.c
Symbol.map Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
udf.c
Versions.def Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
zfs.c