Mateusz Guzik ee3fd7bbb1 Plug capability races.
fp and appropriate capability lookups were not atomic, which could result in
improper capabilities being checked.

This could result either in protection bypass or in a spurious ENOTCAPABLE.

Make fp + capability check atomic with the help of sequence counters.

Reviewed by:	kib
MFC after:	3 weeks
2014-10-04 08:08:56 +00:00
..
2014-09-23 02:56:40 +00:00
2014-03-18 21:34:11 +00:00
2014-10-04 08:08:56 +00:00
2014-08-24 09:04:09 +00:00
2014-09-03 08:40:16 +00:00
2014-07-07 00:27:09 +00:00
2014-03-14 06:29:43 +00:00
2014-09-17 17:43:32 +00:00
2014-06-26 13:57:44 +00:00
2014-05-01 22:28:14 +00:00
2014-08-11 15:06:07 +00:00
2014-03-18 21:34:11 +00:00
2014-03-18 21:34:11 +00:00
2014-08-03 22:37:21 +00:00