selftests/fs/mount-notify: build with tools include dir

Copy the fanotify uapi header files to the tools include dir
and define __kernel_fsid_t to decouple dependency with headers_install
and then remove the redundant re-definitions of fanotify macros.

Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/20250509133240.529330-6-amir73il@gmail.com
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Amir Goldstein 2025-05-09 15:32:37 +02:00 • committed by Christian Brauner
commit c6d9775c20
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
3 changed files with 282 additions and 20 deletions