mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 17:48:53 +00:00
c270e4fb30
This patch fixes a problem in the non-const 'for_each' method of the 'Registry' data structure. If an exception was thrown from within the functor of the 'for_each' operation, the not yet processed items of the registry were dropped from the registry, which is not expected.
28 lines
584 B
Plaintext
28 lines
584 B
Plaintext
build "core init test/registry"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="LOG"/>
|
|
<service name="PD"/>
|
|
<service name="CPU"/>
|
|
<service name="ROM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<default caps="50"/>
|
|
<start name="test-registry">
|
|
<resource name="RAM" quantum="10M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core ld.lib.so init test-registry"
|
|
|
|
append qemu_args "-nographic "
|
|
|
|
run_genode_until ".*child \"test-registry\" exited with exit value 0.*\n" 20
|