[PATCH v2 0/2] Tests for AT_HANDLE_CONNECTABLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a test for new flag AT_HANDLE_CONNECTABLE from v6.13.
See man page update of this flag here [1].

This v2 fixes the failures that you observed with tmpfs and nfs.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-fsdevel/20250330163502.1415011-1-amir73il@xxxxxxxxx/

Changes since v1:
- Remove unpredictable test case of open fh after move to new parent
- Add check that open fds are connected

Amir Goldstein (2):
  open_by_handle: add support for testing connectable file handles
  open_by_handle: add a test for connectable file handles

 common/rc             | 16 ++++++++--
 src/open_by_handle.c  | 53 ++++++++++++++++++++++++++------
 tests/generic/777     | 70 +++++++++++++++++++++++++++++++++++++++++++
 tests/generic/777.out |  5 ++++
 4 files changed, 132 insertions(+), 12 deletions(-)
 create mode 100755 tests/generic/777
 create mode 100644 tests/generic/777.out

-- 
2.34.1





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux