mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
sandbox.h: supply Request::args to Local_service
This change allows a local service to interpret session arguments other than the label.
This commit is contained in:
parent
7ce734d886
commit
4918035258
@ -139,7 +139,8 @@ class Genode::Sandbox::Local_service_base : public Service
|
||||
:
|
||||
resources(session_resources_from_args(session.args().string())),
|
||||
label(session.label()),
|
||||
diag(session_diag_from_args(session.args().string()))
|
||||
diag(session_diag_from_args(session.args().string())),
|
||||
args(session.args())
|
||||
{ }
|
||||
|
||||
/*
|
||||
@ -150,9 +151,12 @@ class Genode::Sandbox::Local_service_base : public Service
|
||||
|
||||
public:
|
||||
|
||||
using Args = Session_state::Args;
|
||||
|
||||
Session::Resources const resources;
|
||||
Session::Label const label;
|
||||
Session::Diag const diag;
|
||||
Args const args;
|
||||
|
||||
template <typename ST>
|
||||
void deliver_session(ST &session)
|
||||
|
Loading…
Reference in New Issue
Block a user