linux/tools/testing/selftests/filesystems
Linus Torvalds 3a2a5b278f vfs-6.18-rc1.mount
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRAhzRXHqcMeLMyaSiRxhvAZXjcogUCaNZQOwAKCRCRxhvAZXjc
 oth/AQDvlOo+23/f2djgDGS8akjkBYVLW14OYzC0q5cbEnnGgAEAycHL50pp3n1o
 3jMYlCByuv507vpCsDupo7QcJapmQAk=
 =/NwE
 -----END PGP SIGNATURE-----

Merge tag 'vfs-6.18-rc1.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs mount updates from Christian Brauner:
 "This contains some work around mount api handling:

   - Output the warning message for mnt_too_revealing() triggered during
     fsmount() to the fscontext log. This makes it possible for the
     mount tool to output appropriate warnings on the command line.

     For example, with the newest fsopen()-based mount(8) from
     util-linux, the error messages now look like:

       # mount -t proc proc /tmp
       mount: /tmp: fsmount() failed: VFS: Mount too revealing.
              dmesg(1) may have more information after failed mount system call.

   - Do not consume fscontext log entries when returning -EMSGSIZE

     Userspace generally expects APIs that return -EMSGSIZE to allow for
     them to adjust their buffer size and retry the operation.

     However, the fscontext log would previously clear the message even
     in the -EMSGSIZE case.

     Given that it is very cheap for us to check whether the buffer is
     too small before we remove the message from the ring buffer, let's
     just do that instead.

   - Drop an unused argument from do_remount()"

* tag 'vfs-6.18-rc1.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  vfs: fs/namespace.c: remove ms_flags argument from do_remount
  selftests/filesystems: add basic fscontext log tests
  fscontext: do not consume log entries when returning -EMSGSIZE
  vfs: output mount_too_revealing() errors to fscontext
  docs/vfs: Remove mentions to the old mount API helpers
  fscontext: add custom-prefix log helpers
  fs: Remove mount_bdev
  fs: Remove mount_nodev
2025-09-29 09:32:34 -07:00
..
binderfs binderfs: binderfs_test: remove unused variable 2024-10-13 17:11:45 +02:00
epoll
eventfd selftests/eventfd: correct test name and improve messages 2025-05-22 14:55:38 -07:00
fat selftests/filesystems: Add six consecutive 'x' characters to mktemp 2023-08-16 10:10:39 -06:00
mount-notify selftests/fs/mount-notify: Fix compilation failure. 2025-09-02 10:34:37 +02:00
nsfs selftests/nsfs: add ioctl validation tests 2025-02-20 09:13:52 +01:00
overlayfs selftests/filesystems: move wrapper.h out of overlayfs subdir 2025-05-12 11:40:12 +02:00
statmount selftests/filesystems: create setup_userns() helper 2025-05-12 11:40:13 +02:00
.gitignore selftests/filesystems: add basic fscontext log tests 2025-08-11 14:52:41 +02:00
Makefile selftests/filesystems: add basic fscontext log tests 2025-08-11 14:52:41 +02:00
anon_inode_test.c selftests/filesystems: Fix build of anon_inode_test 2025-05-31 08:43:53 -07:00
devpts_pts.c
dnotify_test.c
fclog.c selftests/filesystems: add basic fscontext log tests 2025-08-11 14:52:41 +02:00
file_stressor.c selftests: fix some typos in tools/testing/selftests 2025-05-11 17:54:13 -07:00
kernfs_test.c selftests/kernfs: test xattr retrieval 2025-07-02 14:18:22 +02:00
utils.c selftests/filesystems: create setup_userns() helper 2025-05-12 11:40:13 +02:00
utils.h selftests/filesystems: create setup_userns() helper 2025-05-12 11:40:13 +02:00
wrappers.h selftests/pidfd: move syscall definitions into wrappers.h 2025-05-12 11:40:12 +02:00