genode/base-foc/src/base
Stefan Kalkowski 9a9f49b65c Fiasco.OC: sanity-check cap insertion. (fix #166)
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.
2012-03-26 15:06:26 +02:00
..
console Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
env Fiasco.OC: sanity-check cap insertion. (fix #166) 2012-03-26 15:06:26 +02:00
ipc Fiasco.OC: introduce Cap_index (fixes #149, #112) 2012-03-22 14:10:44 +01:00
lock Fiasco.OC: introduce Cap_index (fixes #149, #112) 2012-03-22 14:10:44 +01:00
pager Fiasco.OC: introduce Cap_index (fixes #149, #112) 2012-03-22 14:10:44 +01:00
server Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
thread Fiasco.OC: sanity-check cap insertion. (fix #166) 2012-03-26 15:06:26 +02:00