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:
Norman Feske
2017-05-07 22:03:25 +02:00
committed by Christian Helmuth
parent bc82cce72b
commit c1b981ede4
63 changed files with 193 additions and 45 deletions

View File

@ -39,6 +39,8 @@ struct Test::Session : Genode::Session
{
static const char *service_name() { return "TEST"; }
enum { CAP_QUOTA = 2 };
GENODE_RPC(Rpc_cap_void, bool, cap_void, Genode::Native_capability,
Genode::addr_t &);
GENODE_RPC(Rpc_void_cap, Genode::Native_capability,