mbox series

[0/2] Overlayfs tests for file handle bugs

Message ID 20200506102259.28107-1-amir73il@gmail.com (mailing list archive)
Headers show
Series Overlayfs tests for file handle bugs | expand


Amir Goldstein May 6, 2020, 10:22 a.m. UTC

Recently, two independent bugs have been reported by Lubos Dolezel
and Dan Carpenter.

The first bug was there since overlayfs nfs_export support.  The second
bug is a regression introduced in v5.5 that can crash the kernel.

The fix patches have just been posted, so the purpose of this posting
it to test the fixes pre merge.


Amir Goldstein (2):
  open_by_handle: add option -z to query file handle size
  overlay: regression test for two file handle bugs

 src/open_by_handle.c  | 27 +++++++++++++--
 tests/overlay/073     | 80 +++++++++++++++++++++++++++++++++++++++++++
 tests/overlay/073.out |  2 ++
 tests/overlay/group   |  1 +
 4 files changed, 107 insertions(+), 3 deletions(-)
 create mode 100755 tests/overlay/073
 create mode 100644 tests/overlay/073.out