mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-13 04:38:20 +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
@ -82,6 +82,13 @@ struct Framebuffer::Session : Genode::Session
|
||||
{
|
||||
static const char *service_name() { return "Framebuffer"; }
|
||||
|
||||
/*
|
||||
* A framebuffer session consumes a dataspace capability for the server's
|
||||
* session-object allocation, a dataspace capability for the framebuffer
|
||||
* dataspace, and its session capability.
|
||||
*/
|
||||
enum { CAP_QUOTA = 3 };
|
||||
|
||||
typedef Session_client Client;
|
||||
|
||||
virtual ~Session() { }
|
||||
|
Reference in New Issue
Block a user