mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
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:
parent
4b9e1f1060
commit
50dd0dda38
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user