base: make CAP session upgradeable

* Introduce 'Out_of_metadata' exception for capability allocation

Ref #1443
This commit is contained in:
Stefan Kalkowski
2015-05-05 13:31:11 +02:00
committed by Christian Helmuth
parent 73c3a81e0b
commit 64bfe233d7
7 changed files with 24 additions and 1 deletions

View File

@ -36,6 +36,8 @@ namespace Genode {
Cap_session_component(Allocator *md_alloc, const char *args) {}
void upgrade_ram_quota(size_t ram_quota) { }
Native_capability alloc(Native_capability ep)
{
Lock::Guard lock_guard(_lock());