genode/repos/os/src
Norman Feske dce6e14e3e os: generalize Session_label, Session_policy
The utilities in os/session_policy.h used to be tailored for the
matching of session arguments against a server-side policy
configuration. However, the policy-matching part is useful in other
situations, too. This patch removes the tight coupling with the
session-argument parsing (via Arg_string) and the hard-wired use of
'Genode::config()'.

To make the utilities more versatile, the 'Session_label' has become a
'Genode::String' (at the time when we originally introduced the
'Session_label', there was no 'Genode::String'). The parsing of the
session arguments happens in the constructor of this special 'String'.
The constructor of 'Session_policy' now takes a 'Genode::String' as
argument. So it can be used with the 'Session_label' but also with other
'String' types. Furthermore, the implicit use of 'Genode::config()' can
be overridden by explicitly specifying the config node as an argument.
2015-10-06 12:18:52 +02:00
..
app cli_monitor, launcher: handle exiting subsystems 2015-09-30 15:48:12 +02:00
drivers os: add ISABRIDGE class to x86 platform driver 2015-10-06 12:18:52 +02:00
init Introduce 'spec' subdirectories to outline aspects 2015-09-16 13:58:50 +02:00
lib VFS: symlink file system 2015-09-30 12:20:36 +02:00
server os: generalize Session_label, Session_policy 2015-10-06 12:18:52 +02:00
test safeguard the synchronized allocator template 2015-09-30 12:20:39 +02:00