break: zero space on allocation rather than doing it all on exec
authorAlan Cox <alan@linux.intel.com>
Thu, 4 Jun 2015 17:17:39 +0000 (18:17 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 4 Jun 2015 17:17:39 +0000 (18:17 +0100)
commitd833e04f41440e0f0290bd5d567186beec6e9887
tree60c4397e6234f3bbc73c23f746820fd544c1b72e
parentc91f19ab989cbafb0a0fe47613c34fd33acf7cc4
break: zero space on allocation rather than doing it all on exec

Allows the fast fork() handling to work correctly, and fixes the behaviour
of a negative sbrk, followed by a positive one failing to clear the space.

Tidy up the types involved.
Kernel/include/kernel.h
Kernel/syscall_exec16.c
Kernel/syscall_proc.c