syscall_exec16: note a cunning (but probably not very good) plan
authorAlan Cox <alan@linux.intel.com>
Wed, 11 Jul 2018 23:30:27 +0000 (00:30 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 11 Jul 2018 23:30:27 +0000 (00:30 +0100)
Kernel/syscall_exec16.c

index 6414424..58fc0e0 100644 (file)
@@ -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. */