From 3e1064cd2576142802847d3a412798d1b67d4f44 Mon Sep 17 00:00:00 2001 From: Andrei Lascu Date: Mon, 16 Dec 2024 15:49:54 +0000 Subject: [PATCH] fixup! 1 compartment to N mappings CHERI clang-format pass --- src/manager.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/manager.c b/src/manager.c index b1244b7..0246df4 100644 --- a/src/manager.c +++ b/src/manager.c @@ -37,8 +37,7 @@ extern char **environ; ******************************************************************************/ static void *get_next_comp_addr(size_t); -static void *__capability -make_new_ddc(struct Compartment *, void *); +static void *__capability make_new_ddc(struct Compartment *, void *); static struct CompConfig * parse_compartment_config_file(char *, bool); @@ -125,8 +124,8 @@ get_next_comp_addr(size_t comp_sz) return next_addr; } -static void *__capability -make_new_ddc(struct Compartment *comp, void *target_addr) +static void *__capability make_new_ddc( + struct Compartment *comp, void *target_addr) { void *__capability new_ddc = cheri_address_set(cheri_ddc_get(), (intptr_t) target_addr);