freebsd-dev/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
procstat_args.c
procstat_auxv.c
procstat_basic.c
procstat_bin.c
procstat_cred.c
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
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
procstat_threads.c
procstat_vm.c
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
procstat.h