summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/landlock/fs_test.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-13selftests/landlock: Exhaustive test for the IOCTL allow-listGünther Noack1-0/+114
2024-05-13selftests/landlock: Check IOCTL restrictions for named UNIX domain socketsGünther Noack1-0/+53
2024-05-13selftests/landlock: Test IOCTLs on named pipesGünther Noack1-0/+43
2024-05-13selftests/landlock: Test ioctl(2) and ftruncate(2) with open(O_PATH)Günther Noack1-0/+40
2024-05-13selftests/landlock: Test IOCTL with memfdsGünther Noack1-8/+36
2024-05-13selftests/landlock: Test IOCTL supportGünther Noack1-3/+189
2024-05-13landlock: Add IOCTL access right for character and block devicesGünther Noack1-2/+3
2024-05-11selftests/harness: Fix vfork() side effectsMickaël Salaün1-10/+6
2024-05-11selftests/landlock: Do not allocate memory in fixture dataMickaël Salaün1-22/+35
2024-05-11selftests/landlock: Fix FS tests when run on a private mount pointMickaël Salaün1-1/+9
2024-03-07selftests/harness: Fix TEST_F()'s vfork handlingMickaël Salaün1-12/+10
2024-03-01selftests: kselftest_harness: save full exit code in metadataJakub Kicinski1-2/+2
2024-01-25selftests/landlock: Fix fs_test build with old libcHu Yadi1-3/+8
2024-01-03selftests/landlock: Rename "permitted" to "allowed" in ftruncate testsGünther Noack1-9/+8
2023-12-22selftests/landlock: Add tests to check unhandled rule's access rightsMickaël Salaün1-0/+34
2023-12-22selftests/landlock: Add tests to check unknown rule's access rightsMickaël Salaün1-1/+28
2023-10-27selftests/landlock: Add tests for FS topology changes with network rulesMickaël Salaün1-0/+59
2023-10-26selftests/landlock: Share enforce_ruleset() helperKonstantin Meskhidze1-10/+0
2023-08-30selftests/landlock: Fix a resource leakDing Xiang1-3/+5
2023-06-12selftests/landlock: Add hostfs testsMickaël Salaün1-1/+27
2023-06-12selftests/landlock: Add tests for pseudo filesystemsMickaël Salaün1-1/+253
2023-06-12selftests/landlock: Make mounts configurableMickaël Salaün1-5/+40
2023-06-12selftests/landlock: Add supports_filesystem() helperMickaël Salaün1-13/+23
2023-06-12selftests/landlock: Don't create useless file layoutsMickaël Salaün1-6/+20
2023-01-13selftests/landlock: Skip overlayfs tests when not supportedJeff Xu1-0/+47
2022-10-19selftests/landlock: Test ftruncate on FDs created by memfd_create(2)Günther Noack1-0/+16
2022-10-19selftests/landlock: Test FD passing from restricted to unrestricted processesGünther Noack1-0/+62
2022-10-19selftests/landlock: Test open() and ftruncate() in multiple scenariosGünther Noack1-0/+96
2022-10-19selftests/landlock: Test file truncation supportGünther Noack1-0/+287
2022-10-19landlock: Support file truncationGünther Noack1-3/+4
2022-09-02landlock: Fix file reparenting without explicit LANDLOCK_ACCESS_FS_REFERMickaël Salaün1-10/+145
2022-05-23selftests/landlock: Add 11 new test suites dedicated to file reparentingMickaël Salaün1-1/+754
2022-05-23landlock: Add support for file reparenting with LANDLOCK_ACCESS_FS_REFERMickaël Salaün1-1/+2
2022-05-23landlock: Fix same-layer rule unionsMickaël Salaün1-0/+107
2022-05-23landlock: Reduce the maximum number of layers to 16Mickaël Salaün1-1/+1
2022-05-23selftests/landlock: Add tests for O_PATHMickaël Salaün1-2/+8
2022-05-23selftests/landlock: Fully test file rename with "remove" accessMickaël Salaün1-4/+37
2022-05-23selftests/landlock: Extend access right tests to directoriesMickaël Salaün1-8/+22
2022-05-23selftests/landlock: Add tests for unknown access rightsMickaël Salaün1-0/+16
2022-05-23selftests/landlock: Make tests build with old libcMickaël Salaün1-5/+18
2022-05-23selftests/landlock: Format with clang-formatMickaël Salaün1-181/+218
2022-05-09selftests/landlock: Normalize array assignmentMickaël Salaün1-56/+56
2022-05-09selftests/landlock: Add clang-format exceptionsMickaël Salaün1-6/+17
2021-04-22selftests/landlock: Add user space testsMickaël Salaün1-0/+2791