Re: [PATCH 2/2] selinux-testsuite: Add fs*(2) API filesystem tests

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

 



On 1/20/20 6:11 AM, Richard Haines wrote:
Test filesystem permissions using the fsopen(2), fsconfig(2), fsmount(2),
fspick(2) and fsmount(2) api's introduced in kernel 5.2.

Also tests move_mount(2) using open_tree(2).

These tests use common code from tests/filesystem.

Signed-off-by: Richard Haines <richard_c_haines@xxxxxxxxxxxxxx>

Only question I have is whether we want to enable the move_mount test unconditionally and let it break on kernels with the regression. Otherwise,

Acked-by: Stephen Smalley <sds@xxxxxxxxxxxxx>

---
  tests/Makefile                   |   6 +
  tests/fs_filesystem/.gitignore   |   3 +
  tests/fs_filesystem/Makefile     |  16 +
  tests/fs_filesystem/fs_common.c  | 110 ++++
  tests/fs_filesystem/fs_common.h  |  30 ++
  tests/fs_filesystem/fsmount.c    |  89 ++++
  tests/fs_filesystem/fspick.c     |  68 +++
  tests/fs_filesystem/move_mount.c |  76 +++
  tests/fs_filesystem/test         | 833 +++++++++++++++++++++++++++++++
  9 files changed, 1231 insertions(+)
  create mode 100644 tests/fs_filesystem/.gitignore
  create mode 100644 tests/fs_filesystem/Makefile
  create mode 100644 tests/fs_filesystem/fs_common.c
  create mode 100644 tests/fs_filesystem/fs_common.h
  create mode 100644 tests/fs_filesystem/fsmount.c
  create mode 100644 tests/fs_filesystem/fspick.c
  create mode 100644 tests/fs_filesystem/move_mount.c
  create mode 100755 tests/fs_filesystem/test

[...]



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux