public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc9988a
)
kernel: remove stack size hack for 32bit
author
Alan Cox
<alan@linux.intel.com>
Sun, 20 Jan 2019 15:21:08 +0000
(15:21 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 20 Jan 2019 15:21:08 +0000
(15:21 +0000)
We leave a sensible minimum value just as a sanity check
Kernel/syscall_exec32.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_exec32.c
b/Kernel/syscall_exec32.c
index
abcdffb
..
c55c53e
100644
(file)
--- a/
Kernel/syscall_exec32.c
+++ b/
Kernel/syscall_exec32.c
@@
-58,8
+58,8
@@
static void close_on_exec(void)
static int valid_hdr(inoptr ino, struct binfmt_flat *bf)
{
- if (bf->stack_size <
32768
)
- bf->stack_size =
32768
;
+ if (bf->stack_size <
4096
)
+ bf->stack_size =
4096
;
if (bf->rev != 4)
return 0;
if (bf->entry >= bf->data_start)