[PATCH] tests/userfaultfd: fix invalid flag testing

Dmitry V. Levin ldv at altlinux.org
Tue Jan 5 20:50:36 UTC 2021


On Sun, Jan 03, 2021 at 07:51:18PM +0100, Sven Schnelle wrote:
> With linux commit 37cd0575b851 ("userfaultfd: add UFFD_USER_MODE_ONLY")
> flag with value 1 is now a valid flag. This commit changes it to 2 as
> that one is the next available. It doesn't implement any testing of
> UFFD_USER_MODE_ONLY though.
> 
> Signed-off-by: Sven Schnelle <svens at linux.ibm.com>
> ---
>  tests/userfaultfd.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.


-- 
ldv


More information about the Strace-devel mailing list