LTP testing
The next LTP failure is:
mprotect01 1 FAIL : unexpected error - 14 : Bad address - expected
12
This has been fixed in the 2.4.19-pre4 patch.
But here is a local patch that solve the above problem, so we can have this fixed before we have merged with kernel.org.
/Carsten
--
_ _ ____ ___ Carsten Langgaard Mailto:[email protected] |\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527 | \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555 TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556 Denmark http://www.mips.com
Index: mm/mprotect.c
===================================================================
RCS file: /home/repository/sw/linux-2.4.18/mm/mprotect.c,v retrieving revision 1.1.1.1
mprotect.c +2 -2
@@ -284,7 +284,7 @@down_write (¤t->mm->mmap_sem); vma =find_vma_prev (current->mm, start, &prev); - error = -EFAULT ; + error = -ENOMEM ;if (!vma || vma->vm_start > start) goto out;
@@ -317,7 +317,7 @@ nstart = tmp; vma = next;if (!vma || vma->vm_start != nstart) { - error = -EFAULT ; + error = -ENOMEM ; goto out; } }
Quoted 7 lines · Carsten Langgaard
The next LTP failure is:
mprotect01 1 FAIL : unexpected error - 14 : Bad address - expected
12This has been fixed in the 2.4.19-pre4 patch.
But here is a local patch that solve the above problem, so we can have this fixed before we have merged with kernel.org.
I'm going to merge with -rc1 asap.
Ralf