mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
trace_session: fix exception list in 'trace' RPC
Trace_session::trace might throw Nonexistant_subject which was neither documented nor declared in the RPC interface. Issue #2654
This commit is contained in:
parent
c68d551c41
commit
c10554851d
@ -59,6 +59,7 @@ struct Genode::Trace::Session : Genode::Session
|
|||||||
* \throw Already_traced
|
* \throw Already_traced
|
||||||
* \throw Source_is_dead
|
* \throw Source_is_dead
|
||||||
* \throw Nonexistent_policy
|
* \throw Nonexistent_policy
|
||||||
|
* \throw Nonexistent_subject
|
||||||
* \throw Traced_by_other_session
|
* \throw Traced_by_other_session
|
||||||
*/
|
*/
|
||||||
virtual void trace(Subject_id, Policy_id, size_t buffer_size) = 0;
|
virtual void trace(Subject_id, Policy_id, size_t buffer_size) = 0;
|
||||||
@ -126,7 +127,8 @@ struct Genode::Trace::Session : Genode::Session
|
|||||||
GENODE_TYPE_LIST(Nonexistent_policy), Policy_id);
|
GENODE_TYPE_LIST(Nonexistent_policy), Policy_id);
|
||||||
GENODE_RPC_THROW(Rpc_trace, void, trace,
|
GENODE_RPC_THROW(Rpc_trace, void, trace,
|
||||||
GENODE_TYPE_LIST(Out_of_ram, Out_of_caps, Already_traced,
|
GENODE_TYPE_LIST(Out_of_ram, Out_of_caps, Already_traced,
|
||||||
Source_is_dead, Nonexistent_policy,
|
Source_is_dead, Nonexistent_subject,
|
||||||
|
Nonexistent_policy,
|
||||||
Traced_by_other_session),
|
Traced_by_other_session),
|
||||||
Subject_id, Policy_id, size_t);
|
Subject_id, Policy_id, size_t);
|
||||||
GENODE_RPC_THROW(Rpc_rule, void, rule,
|
GENODE_RPC_THROW(Rpc_rule, void, rule,
|
||||||
|
Loading…
Reference in New Issue
Block a user