userfaultfd: wp: add the writeprotect API to userfaultfd ioctl

v1: From: Shaohua Li <shli@fb.com>

v2: cleanups, remove a branch.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
2 files changed