From f9076e4c60f1e27bc2e0df6757c5d4277c1ef219 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 12 Jul 2018 00:30:27 +0100 Subject: [PATCH] syscall_exec16: note a cunning (but probably not very good) plan --- Kernel/syscall_exec16.c | 6 ++++++ 1 file changed, 6 insertions(+) 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. */ -- 2.34.1