From: Jin, Gordon <gordon.jin@in...> - 2005-03-17 02:27:39
Gernot Payer <> wrote on Wednesday, March 16, 2005 8:02 PM:
> Hi all,
> in recent runs I experienced unexpected failures with these testcases
> and found out that subtestcases in these programs have some bugs.
> One test case tests, whether with parameter length < 0 EINVAL is
> returned. However this parameter has type size_t, which is unsigned.
> The kernel only returns EINVAL if start + length < start (overflow).
> Otherwise this syscall will return ENOMEM (unmapped virtual memory in
> [start,start+length) ) or might even succeed.
> Because of this uncertainty, I dropped this subtestcase.
For start + length < start (overflow),
the return value has been changed from EINVAL to ENOMEM in 22.214.171.124-bk2.
With this kernel change, the case mincore01 2 won't get the expected =
So It's time to drop/change this LTP case.