pjd 6175f0915f 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
..
2013-11-08 14:33:41 +00:00
2013-09-20 01:52:02 +00:00
2013-03-22 13:36:03 +00:00
2013-06-17 20:11:04 +00:00
2013-02-28 01:22:14 +00:00
2013-09-22 20:30:55 +00:00
2013-03-11 13:08:32 +00:00
2013-05-11 13:46:05 +00:00
2013-03-04 02:21:06 +00:00
2013-09-30 17:23:45 +00:00
2013-11-10 14:18:05 +00:00
2013-02-19 13:32:26 +00:00
2013-11-13 20:35:10 +00:00
2013-07-04 03:24:58 +00:00
2013-07-04 03:24:58 +00:00
2013-09-26 18:00:45 +00:00
2013-09-20 16:05:09 +00:00
2013-04-11 19:05:24 +00:00
2013-03-17 06:36:04 +00:00
2013-07-30 19:21:36 +00:00
2013-06-17 20:15:39 +00:00
2013-11-09 09:05:50 +00:00
2013-03-22 13:36:03 +00:00
2013-11-08 14:33:41 +00:00
2013-04-23 13:03:17 +00:00
2013-03-28 20:33:07 +00:00
2013-05-12 22:22:12 +00:00
2013-07-28 18:44:17 +00:00
2013-05-10 03:49:05 +00:00
2013-11-08 14:33:41 +00:00
2013-03-07 23:44:35 +00:00