freebsd-nq/usr.bin/procstat
Pawel Jakub Dawidek ed5848c835 Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I had
a very hard time to fully understand) with much more intuitive rights:

	CAP_EVENT - when set on descriptor, the descriptor can be monitored
		with syscalls like select(2), poll(2), kevent(2).

	CAP_KQUEUE_EVENT - When set on a kqueue descriptor, the kevent(2)
		syscall can be called on this kqueue to with the eventlist
		argument set to non-NULL value; in other words the given
		kqueue descriptor can be used to monitor other descriptors.
	CAP_KQUEUE_CHANGE - When set on a kqueue descriptor, the kevent(2)
		syscall can be called on this kqueue to with the changelist
		argument set to non-NULL value; in other words it allows to
		modify events monitored with the given kqueue descriptor.

Add alias CAP_KQUEUE, which allows for both CAP_KQUEUE_EVENT and
CAP_KQUEUE_CHANGE.

Add backward compatibility define CAP_POLL_EVENT which is equal to CAP_EVENT.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2013-11-15 19:55:35 +00:00
..
Makefile Bring DPADD in sync with LDADD. 2012-05-19 05:07:03 +00:00
procstat_args.c Use libprocstat(3) to retrieve process command line arguments and 2013-04-20 08:08:29 +00:00
procstat_auxv.c Use libprocstat(3) to retrieve ELF auxiliary vector. 2013-04-20 08:15:43 +00:00
procstat_basic.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
procstat_bin.c Use libprocstat(3) when retrieving binary information for a process. 2013-04-20 08:05:04 +00:00
procstat_cred.c Use procstat_getumask(3) for retrieving umaks information instead of 2013-04-20 07:58:20 +00:00
procstat_files.c Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I had 2013-11-15 19:55:35 +00:00
procstat_kstack.c Use procstat_getkstack(3) for retrieving process kernel stacks 2013-04-20 08:19:06 +00:00
procstat_rlimit.c Add a resource limit for the total number of kqueues available to the 2013-10-21 16:46:12 +00:00
procstat_sigs.c Use procstat_getprocs(3) for retrieving thread information instead of 2013-04-20 07:50:59 +00:00
procstat_threads.c Use procstat_getprocs(3) for retrieving thread information instead of 2013-04-20 07:50:59 +00:00
procstat_vm.c Use more generic procstat_getvmmap(3) for retrieving VM layout of a process. 2013-04-20 07:52:23 +00:00
procstat.1 With r247602, the "c" flag is no longer printed as a file descriptor flag. 2013-10-28 00:20:30 +00:00
procstat.c Make use of newly added libprocstat(3) ability to extract procstat 2013-04-20 08:22:09 +00:00
procstat.h Use procstat_getkstack(3) for retrieving process kernel stacks 2013-04-20 08:19:06 +00:00