5a1cef6381
This patch unconditionally applies the labeling of sessions and thereby removes the most common use case of 'Child_policy::filter_session_args'. Furthermore, the patch removes an ambiguity of the session labels of sessions created by the parent of behalf of its child, e.g., the PD session created as part of 'Child' now has the label "<child-name>" whereas an unlabeled PD-session request originating from the child has the label "<child-name> -> ". This way, the routing-policy of 'Child_policy::resolve_session_request' can differentiate both cases. As a consequence, the stricter labeling must now be considered wherever a precise label was specified as a key for a session route or a server- side policy selection. The simplest way to adapt those cases is to use a 'label_prefix' instead of the 'label' attribute. Alternatively, the 'label' attribute may used by appending " -> " (note the whitespace). Fixes #2171 |
||
---|---|---|
.. | ||
child.h | ||
input.h | ||
main.cc | ||
nitpicker.h | ||
ram_session_client_guard.h | ||
README | ||
rom.h | ||
target.mk |
This directory contains a loader service, which allows for the instantiation of subsystems via a session interface. The resources for the new subsystem are provided by the client when opening the session. The client has no control over the functioning of the subsystem except for the controlling the lifetime of the subsystem. By default, the loaded subsystem can access only those ROM modules that were loaded into the loader session by the loader client. However, it is possible to define a whitelist of ROM modules to be obtained from the loader's parent. For an example, refer to the example 'run/loader.run' script.