mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 10:01:57 +00:00
When constructing a thread object its capability is inserted into the capability map. Normally this is done by the ipc-unmarshalling code, but in this case the thread-capability isn't transfered via normal IPC, but in a special form via the thread_state object. In contrast to the unmarshalling code, the thread-startup code doesn't check, whether the capability-map already contains a deprecated entry with the same capability id before inserting the thread's capability. This commit add the necessary check. Moreover, a check is added to the insertion methods of the capability-map to verify that capability-allocation didn't failed.
This repository contains the port of Genode to the Fiasco.OC microkernel. For further information, please refer to the following documents: :[http://genode.org/community/wiki/GenodeOnFiascoOC - Genode on Fiasco.OC Wiki page]: This Wiki page contains the information on how to build and use Genode with Fiasco.OC. :[http://os.inf.tu-dresden.de/fiasco]: Official website for the Fiasco.OC microkernel.