genode/base-foc/src
Stefan Kalkowski 89db981280 Fix race when removing Cap_index (fix #163)
Removing a Cap_index from Capability_map in core can happen twice, via
Cap_session_component or destructor of a Cap_mapping. That it's checked
whether the index is part of the map before removing it. This patch puts
the check into the remove method, so both operations are within the same
lock context, to remove a race condition.

This is a follow up fix for commit d287b9d893
2012-03-23 18:26:33 +01:00
..
base Fix race when removing Cap_index (fix #163) 2012-03-23 18:26:33 +01:00
bootstrap Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
core Fix race when removing Cap_index (fix #163) 2012-03-23 18:26:33 +01:00
kernel Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
platform Fiasco.OC: introduce Cap_index (fixes #149, #112) 2012-03-22 14:10:44 +01:00
sigma0 Imported Genode release 11.11 2011-12-22 16:19:25 +01:00