r2287 - trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches
Andres Salomon
dilinger-guest@costa.debian.org
Thu, 13 Jan 2005 08:31:36 +0100
Author: dilinger-guest
Date: 2005-01-13 08:31:35 +0100 (Thu, 13 Jan 2005)
New Revision: 2287
Modified:
trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/033-rlimit_memlock_check.dpatch
Log:
that probably won't compile, the way it was
Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/033-rlimit_memlock_check.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/033-rlimit_memlock_check.dpatch 2005-01-13 07:30:01 UTC (rev 2286)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/033-rlimit_memlock_check.dpatch 2005-01-13 07:31:35 UTC (rev 2287)
@@ -52,10 +52,10 @@
+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;
+