patch-1.3.45 linux/mm/memory.c
Next file: linux/net/ipv4/icmp.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Nov 26 10:46:03 1995
- Orig file:
v1.3.44/linux/mm/memory.c
- Orig date:
Thu Nov 9 11:23:56 1995
diff -u --recursive --new-file v1.3.44/linux/mm/memory.c linux/mm/memory.c
@@ -663,7 +663,7 @@
goto good_area;
if (!(vma->vm_flags & VM_GROWSDOWN))
goto bad_area;
- if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur)
+ if (expand_stack(vma, start))
goto bad_area;
good_area:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this