From 1956ae70aca4b6053265aaae011444e673d373ee Mon Sep 17 00:00:00 2001 From: Andrei Lascu Date: Thu, 31 Oct 2024 12:36:48 +0000 Subject: [PATCH] fixup! fixup! Add some useful script and various changes Add some comments --- include/compartment.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/compartment.h b/include/compartment.h index a98ec6e..a9a3d17 100644 --- a/include/compartment.h +++ b/include/compartment.h @@ -169,9 +169,11 @@ struct CompConfig size_t entry_point_count; void *base_address; - char **env_ptr; - size_t env_ptr_sz; - unsigned short env_ptr_count; + // Variables related to `manager.h` prepared `environ` data + char **env_ptr; // pointer to `environ` array + size_t env_ptr_sz; // size of the array + // TODO might be unneeded + unsigned short env_ptr_count; // number of entries }; /**