From: Alan Cox Date: Wed, 11 Jul 2018 23:30:27 +0000 (+0100) Subject: syscall_exec16: note a cunning (but probably not very good) plan X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f9076e4c60f1e27bc2e0df6757c5d4277c1ef219;p=FUZIX.git syscall_exec16: note a cunning (but probably not very good) plan --- diff --git a/Kernel/syscall_exec16.c b/Kernel/syscall_exec16.c index 64144248..58fc0e00 100644 --- a/Kernel/syscall_exec16.c +++ b/Kernel/syscall_exec16.c @@ -111,6 +111,12 @@ arg_t _execve(void) } udata.u_ptab->p_status = P_NOSLEEP; + + /* If we made pagemap_realloc keep hold of some defined area we + could in theory just move the arguments up or down as part of + the process - that would save us all this hassle but replace it + with new hassle */ + /* Gather the arguments, and put them in temporary buffers. */ abuf = (struct s_argblk *) tmpbuf(); /* Put environment in another buffer. */