freebsd-skq/usr.bin/fstat
John Baldwin 958aa57537 Similar to 233760 and 236717, export some more useful info about the
kernel-based POSIX semaphore descriptors to userland via procstat(1) and
fstat(1):
- Change sem file descriptors to track the pathname they are associated
  with and add a ksem_info() method to copy the path out to a
  caller-supplied buffer.
- Use the fo_stat() method of shared memory objects and ksem_info() to
  export the path, mode, and value of a semaphore via struct kinfo_file.
- Add a struct semstat to the libprocstat(3) interface along with a
  procstat_get_sem_info() to export the mode and value of a semaphore.
- Teach fstat about semaphores and to display their path, mode, and value.

MFC after:	2 weeks
2013-05-03 21:11:57 +00:00
..
fstat.1 Similar to 233760 and 236717, export some more useful info about the 2013-05-03 21:11:57 +00:00
fstat.c Similar to 233760 and 236717, export some more useful info about the 2013-05-03 21:11:57 +00:00
functions.h
fuser.1 fuser(1) requires a filename. 2013-04-11 12:24:29 +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
Makefile Bring DPADD in sync with LDADD. 2012-05-19 05:07:03 +00:00