On Sun, 23 Nov 2014, Nicolas Joly wrote:
According the OpenGroup online document for posix_madvise[1], it should fail with ENOMEM for invalid addresses ranges : [...] But we currently fail with EINVAL (returned value from range_check() function).

In general, when POSIX doesn't make sense, NetBSD should not need to follow what POSIX says. In this case, it probably doesn't matter much.

--apb (Alan Barrett)

Reply via email to