On Wed, Jul 08, 2026 at 10:57:58PM -0700, Andrew Morton wrote: > On Wed, 8 Jul 2026 12:14:15 +0100 Kiryl Shutsemau <[email protected]> > wrote: > > > Coverage for UFFDIO_REGISTER_MODE_RWP and UFFDIO_RWPROTECT: > > I'm getting selftests build errors: > > uffd-unit-tests.c: In function ‘uffd_register_rwp’: > uffd-unit-tests.c:624:25: error: ‘UFFDIO_REGISTER_MODE_RWP’ undeclared (first > use in this function); did you mean ‘UFFDIO_REGISTER_MODE_WP’? > 624 | .mode = UFFDIO_REGISTER_MODE_RWP, > | ^~~~~~~~~~~~~~~~~~~~~~~~ > | UFFDIO_REGISTER_MODE_WP > uffd-unit-tests.c:624:25: note: each undeclared identifier is reported only > once > > <etc> > > Seems that tools/include/uapi/linux/userfaultfd.h needs updates from > include/uapi/linux/userfaultfd.h?
Hmm, I wonder if it should be there at all :/ I thought userfaultfd.h is brought into selftests by make install_headers > I'll disable this patch for now. -- Sincerely yours, Mike.

