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
..
2012-11-11 23:25:47 +00:00
2012-11-11 23:25:47 +00:00
2013-10-18 11:25:08 +00:00
2013-05-31 00:43:41 +00:00
2013-08-23 14:40:17 +00:00
2013-06-16 10:48:47 +00:00
2012-01-15 13:23:18 +00:00
2013-03-04 12:20:48 +00:00
2012-01-15 13:23:18 +00:00
2012-12-31 11:22:55 +00:00
2013-10-16 09:12:40 +00:00
2012-01-15 13:23:18 +00:00
2010-09-28 03:24:53 +00:00
2012-09-04 12:07:33 +00:00
2012-01-15 13:23:18 +00:00
2012-12-10 23:12:51 +00:00
2013-07-27 20:47:01 +00:00
2013-04-08 19:19:10 +00:00
2011-01-23 12:44:17 +00:00
2012-03-28 20:58:30 +00:00
2013-08-03 13:38:56 +00:00
2013-03-02 21:11:30 +00:00
2012-02-27 18:28:31 +00:00
2013-03-04 12:48:41 +00:00
2011-05-05 02:35:25 +00:00
2013-03-04 12:48:41 +00:00
2013-09-19 18:56:00 +00:00
2013-09-19 18:56:00 +00:00
2013-09-12 19:52:23 +00:00
2013-09-19 18:56:00 +00:00
2013-10-18 11:25:08 +00:00
2010-04-20 17:57:43 +00:00
2013-02-28 13:46:03 +00:00
2012-11-03 22:21:37 +00:00
2013-07-09 20:49:32 +00:00