In an EXEC call, I am looking to allow bigger "child process" by making memory through deleting Parent processes's memory.
I am using MINIX 3.2 and am planning to modify exec.c
to call a modified version of alloc_new_mem
in alloc.c
Here is the source code for alloc.c - https://github.com/minix3/minix/blob/master/servers/vm/alloc.c
Looking for pointers.
OS: MINIX3 File: alloc.c
In the parent process you can simply return without waiting for the child process, so child process will be reparented to init and parent address space will be freed. This doesnt involve any hacks in the kernel.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With