From c7b739cc614b4ff0e6a472d645d04a5200ce739d Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Tue, 20 Jun 2017 12:29:20 +0200 Subject: [PATCH] bomb.run: define resource preservation for init This patch increases init's preserved RAM and capability quota to account for a current limitation of init with respect to the creation of sessions to parent services: In contrast to regular routed services, sessions to parent services are created via 'Env::session'. The implementation of 'Env::session' automatically upgrades session quotas on demand, which is the desired behavior for regular 'Connection' objects. However, for sessions established on the behalf of init's children, we would need to reflect the error condition to the child instead of resolving it locally within init (by subsidizing the session with init's quota). This patch leaves this issue unresolved but fixes the symptom for the bomb test. It is meant as an interim solution until the handling of parent sessions is revised. --- repos/os/run/bomb.run | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/os/run/bomb.run b/repos/os/run/bomb.run index f748d80aef..20085a6ebb 100644 --- a/repos/os/run/bomb.run +++ b/repos/os/run/bomb.run @@ -35,6 +35,8 @@ set config { + +