]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/uffd: allow EINTR/EAGAIN
authorPeter Xu <peterx@redhat.com>
Fri, 14 Jan 2022 22:08:01 +0000 (14:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:30 +0000 (16:30 +0200)
commite228d67fe4248bfab987195e3921a5dc23490be5
tree43c9b021c96cb085fe21d667b81ddbf7bc5c9891
parent22d0be4374fbae2419942ae45a62cec3fb9ab896
selftests/uffd: allow EINTR/EAGAIN

This allow test to continue with interruptions like gdb.

Link: https://lkml.kernel.org/r/20211115135219.85881-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/userfaultfd.c