|
|
@@ -169,7 +169,7 @@ static inline struct uffd_msg userfault_msg(unsigned long address,
|
|
|
msg.arg.pagefault.address = address;
|
|
|
if (flags & FAULT_FLAG_WRITE)
|
|
|
/*
|
|
|
- * If UFFD_FEATURE_PAGEFAULT_FLAG_WRITE was set in the
|
|
|
+ * If UFFD_FEATURE_PAGEFAULT_FLAG_WP was set in the
|
|
|
* uffdio_api.features and UFFD_PAGEFAULT_FLAG_WRITE
|
|
|
* was not set in a UFFD_EVENT_PAGEFAULT, it means it
|
|
|
* was a read fault, otherwise if set it means it's
|