From 50fc5c6d42f341b58703b2107cb6376dccb00e95 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Tue, 23 Apr 2024 09:37:45 +0200 Subject: [PATCH] file_vault: further reduce typical quota needs Ref #5190 --- repos/gems/run/file_vault.run | 4 ++-- repos/gems/run/file_vault_client.run | 2 +- repos/gems/src/app/file_vault/main.cc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/repos/gems/run/file_vault.run b/repos/gems/run/file_vault.run index 7fafcc0d62..a8660cb35a 100644 --- a/repos/gems/run/file_vault.run +++ b/repos/gems/run/file_vault.run @@ -194,8 +194,8 @@ append_if [expr ![have_board linux]] config { append config { - - + + diff --git a/repos/gems/run/file_vault_client.run b/repos/gems/run/file_vault_client.run index 118cd26669..9df9da6f9a 100644 --- a/repos/gems/run/file_vault_client.run +++ b/repos/gems/run/file_vault_client.run @@ -358,7 +358,7 @@ if {[have_board linux]} { } append config { - + diff --git a/repos/gems/src/app/file_vault/main.cc b/repos/gems/src/app/file_vault/main.cc index 0f6943840c..cba0522b46 100644 --- a/repos/gems/src/app/file_vault/main.cc +++ b/repos/gems/src/app/file_vault/main.cc @@ -162,8 +162,8 @@ struct Main : Sandbox::Local_service_base::Wakeup, Sandbox::State_handler bool jent_avail { config_rom.xml().attribute_value("jitterentropy_available", true) }; Root_directory vfs { env, heap, config_rom.xml().sub_node("vfs") }; Registry children { }; - Child_state mke2fs { children, "mke2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 500 } }; - Child_state resize2fs { children, "resize2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 500 } }; + Child_state mke2fs { children, "mke2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 300 } }; + Child_state resize2fs { children, "resize2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 300 } }; Child_state tresor_vfs { children, "tresor_vfs", "vfs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 200 } }; Child_state tresor_trust_anchor_vfs { children, "tresor_trust_anchor_vfs", "vfs", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 200 } }; Child_state rump_vfs { children, "rump_vfs", "vfs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 200 } };