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

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

 



On 1/27/20 4:32 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>
---
  policy/test_filesystem.te        |  18 +-
  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         | 835 +++++++++++++++++++++++++++++++
  10 files changed, 1249 insertions(+), 2 deletions(-)
  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

These are now applied.




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

  Powered by Linux