Environments now belong to procgroups, modify env_set () and env_get () accordingly
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m9s

This commit is contained in:
2026-03-17 21:52:12 +01:00
parent 0b85d3a0da
commit 090a4e46ea
7 changed files with 46 additions and 43 deletions

View File

@@ -5,6 +5,7 @@
#include <libk/string.h>
#include <mm/malloc.h>
#include <mm/pmm.h>
#include <proc/env.h>
#include <proc/proc.h>
#include <proc/procgroup.h>
#include <proc/reschedule.h>
@@ -238,6 +239,8 @@ static void procgroup_delete (struct procgroup* procgroup, struct reschedule_ctx
free (mapping);
}
proc_env_cleanup (procgroup);
pmm_free (procgroup->pd.cr3_paddr, 1);
free (procgroup->tls.tls_tmpl);