public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ffa9a
)
syscall_exec16: note a cunning (but probably not very good) plan
author
Alan Cox
<alan@linux.intel.com>
Wed, 11 Jul 2018 23:30:27 +0000
(
00:30
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 11 Jul 2018 23:30:27 +0000
(
00:30
+0100)
Kernel/syscall_exec16.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_exec16.c
b/Kernel/syscall_exec16.c
index
6414424
..
58fc0e0
100644
(file)
--- 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. */