tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: posix_madvise(2) should fail with ENOMEM for invalid adresses range



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)


Home | Main Index | Thread Index | Old Index