Hi! If I remember right it's POSIX requirement to return ENOMEM in this case and EINVAL sometimes slips in into kernel arch specific memory management code.
Citing POSIX: [ENOMEM] MAP_FIXED was specified, and the range [addr,addr+len) exceeds that allowed for the address space of a process; So if the testcase fails, it's a bug albeit a minor one. What we should do depends on how strict we are. I would personaly change the testcase to have specific failure message for EINVAL, ideally pointing to this discussion on mailing list archive. But if all the rest of you consider this minor enough to be ignored we can proceed with the original patch as well. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list