Re: [PATCH v3 9/9] userfaultfd/selftests: add test exercising minor fault handling

2021-02-01 Thread Peter Xu
On Thu, Jan 28, 2021 at 02:48:19PM -0800, Axel Rasmussen wrote: > Fix a dormant bug in userfaultfd_events_test(), where we did > `return faulting_process(0)` instead of `exit(faulting_process(0))`. > This caused the forked process to keep running, trying to execute any > further test cases after th

[PATCH v3 9/9] userfaultfd/selftests: add test exercising minor fault handling

2021-01-28 Thread Axel Rasmussen
Fix a dormant bug in userfaultfd_events_test(), where we did `return faulting_process(0)` instead of `exit(faulting_process(0))`. This caused the forked process to keep running, trying to execute any further test cases after the events test in parallel with the "real" process. Add a simple test ca