Notify report-rom client on signal-handler registration

Notify client initially to enforce a client-side ROM update. Otherwise,
a server-side ROM update between session creation and signal-handler
registration would go unnoticed.

Issue #1788
This commit is contained in:
Christian Helmuth 2015-11-23 17:00:23 +01:00
parent 4b9e1f1060
commit 50dd0dda38
1 changed files with 7 additions and 0 deletions

View File

@ -125,6 +125,13 @@ class Rom::Session_component : public Genode::Rpc_object<Genode::Rom_session>,
void sigh(Genode::Signal_context_capability sigh) override
{
_sigh = sigh;
/*
* Notify client initially to enforce a client-side ROM update.
* Otherwise, a server-side ROM update between session creation and
* signal-handler registration would go unnoticed.
*/
_notify_client();
}
/**