summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux/userfaultfd.h
diff options
context:
space:
mode:
authorEric Farman2021-01-04 21:20:56 +0100
committerCornelia Huck2021-01-21 11:19:45 +0100
commitb3c818a47f419b6e2f5508fe29e7a30843236fee (patch)
tree27db24839ea67db21d54e29ae6d231fa1c855001 /linux-headers/linux/userfaultfd.h
parentupdate-linux-headers: Include const.h (diff)
downloadqemu-b3c818a47f419b6e2f5508fe29e7a30843236fee.tar.gz
qemu-b3c818a47f419b6e2f5508fe29e7a30843236fee.tar.xz
qemu-b3c818a47f419b6e2f5508fe29e7a30843236fee.zip
Update linux headers to 5.11-rc2
Signed-off-by: Eric Farman <farman@linux.ibm.com> Message-Id: <20210104202057.48048-3-farman@linux.ibm.com> [CH: dropped qatomic->atomic changes in pvrdma_ring.h] Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'linux-headers/linux/userfaultfd.h')
-rw-r--r--linux-headers/linux/userfaultfd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-headers/linux/userfaultfd.h b/linux-headers/linux/userfaultfd.h
index 8d3996eb82..1ba9a9feeb 100644
--- a/linux-headers/linux/userfaultfd.h
+++ b/linux-headers/linux/userfaultfd.h
@@ -257,4 +257,13 @@ struct uffdio_writeprotect {
__u64 mode;
};
+/*
+ * Flags for the userfaultfd(2) system call itself.
+ */
+
+/*
+ * Create a userfaultfd that can handle page faults only in user mode.
+ */
+#define UFFD_USER_MODE_ONLY 1
+
#endif /* _LINUX_USERFAULTFD_H */