summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/usermode-sources/files/usermode-sources-2.6.77666.patch')
-rw-r--r--sys-kernel/usermode-sources/files/usermode-sources-2.6.77666.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-kernel/usermode-sources/files/usermode-sources-2.6.77666.patch b/sys-kernel/usermode-sources/files/usermode-sources-2.6.77666.patch
index 5702aa0d46fd..e0d393235123 100644
--- a/sys-kernel/usermode-sources/files/usermode-sources-2.6.77666.patch
+++ b/sys-kernel/usermode-sources/files/usermode-sources-2.6.77666.patch
@@ -13,10 +13,10 @@ diff -urNpX /usr/src/dontdiff linux-2.6.8.1-r9/mm/mmap.c linux-dsd/mm/mmap.c
+static int acct_stack_growth(struct vm_area_struct * vma, unsigned long size, unsigned long grow)
+{
+ struct mm_struct *mm = vma->vm_mm;
-+ struct rlimit *rlim = current->signal->rlim;
++ struct rlimit *rlim = current->rlim;
+
+ /* address space limit tests */
-+ rlim = current->signal->rlim;
++ rlim = current->rlim;
+ if (mm->total_vm + grow > rlim[RLIMIT_AS].rlim_cur >> PAGE_SHIFT)
+ return -ENOMEM;
+