mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 09:15:36 +00:00
Annotate session interfaces with CAP_QUOTA
The new 'CAP_QUOTA' enum value denotes the capability quota to be transferred from the client to the server at session-creation time. Issue #2398
This commit is contained in:
committed by
Christian Helmuth
parent
bc82cce72b
commit
c1b981ede4
@ -32,7 +32,7 @@ struct Genode::Vm_connection : Connection<Vm_session>, Vm_session_client
|
||||
unsigned long affinity)
|
||||
{
|
||||
return session(parent,
|
||||
"priority=0x%lx, affinity=0x%lx, ram_quota=16K, label=\"%s\"",
|
||||
"priority=0x%lx, affinity=0x%lx, ram_quota=16K, cap_quota=10, label=\"%s\"",
|
||||
priority, affinity, label);
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,8 @@ namespace Genode {
|
||||
{
|
||||
static const char *service_name() { return "VM"; }
|
||||
|
||||
enum { CAP_QUOTA = 3 };
|
||||
|
||||
class Invalid_dataspace : Exception { };
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user