Re: [Qemu-devel] [PATCH v2] syscall: fixed mincore(2) not failing with ENOMEM

2017-02-26 Thread Laurent Vivier
Le 17/02/2017 à 09:58, Franklin Snaipe Mathieu a écrit : > From: "Franklin \"Snaipe\" Mathieu" > > The current implementation of the mincore(2) syscall sets errno to > EFAULT when the region identified by the first two parameters is > invalid. > > This goes against the man

[Qemu-devel] [PATCH v2] syscall: fixed mincore(2) not failing with ENOMEM

2017-02-17 Thread Franklin Snaipe Mathieu
From: "Franklin \"Snaipe\" Mathieu" The current implementation of the mincore(2) syscall sets errno to EFAULT when the region identified by the first two parameters is invalid. This goes against the man page specification, where mincore(2) should only fail with EFAULT when