summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/landlock
AgeCommit message (Expand)AuthorFilesLines
2023-10-27selftests/landlock: Add tests for FS topology changes with network rulesMickaël Salaün1-0/+59
2023-10-26selftests/landlock: Add network testsKonstantin Meskhidze3-0/+1745
2023-10-26selftests/landlock: Share enforce_ruleset() helperKonstantin Meskhidze2-10/+10
2023-10-26landlock: Support network rules with TCP bind and connectKonstantin Meskhidze1-1/+1
2023-08-30selftests/landlock: Fix a resource leakDing Xiang1-3/+5
2023-06-12selftests/landlock: Add hostfs testsMickaël Salaün2-1/+28
2023-06-12selftests/landlock: Add tests for pseudo filesystemsMickaël Salaün2-4/+259
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-27selftests/landlock: Test ptrace as much as possible with YamaJeff Xu1-17/+96
2023-01-13selftests/landlock: Skip overlayfs tests when not supportedJeff Xu1-0/+47
2022-12-13Merge tag 'landlock-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-45/+546
2022-10-19selftests/landlock: Build without static librariesMickaël Salaün1-3/+4
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 Noack3-33/+132
2022-10-19selftests/landlock: Locally define __maybe_unusedGünther Noack1-8/+10
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 Noack2-4/+5
2022-09-14selftests/landlock: Fix out-of-tree buildsMickaël Salaün1-9/+10
2022-09-02Merge tag 'landlock-6.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-10/+145
2022-09-02landlock: Fix file reparenting without explicit LANDLOCK_ACCESS_FS_REFERMickaël Salaün1-10/+145
2022-08-15selftests/landlock: fix broken include of linux/landlock.hGuillaume Tucker1-2/+5
2022-07-14selftests/landlock: drop deprecated headers dependencyGuillaume Tucker1-7/+2
2022-07-11selftests: stop using KSFT_KHDR_INSTALLGuillaume Tucker1-1/+0
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ün2-2/+3
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: Test landlock_create_ruleset(2) argument check orderingMickaël Salaün1-1/+20
2022-05-23landlock: Change landlock_restrict_self(2) check orderingMickaël Salaün1-10/+37
2022-05-23landlock: Change landlock_add_rule(2) argument check orderingMickaël Salaün1-2/+32
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: Extend tests for minimal valid attribute sizeMickaël Salaün1-0/+5
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ün4-251/+312
2022-05-09selftests/landlock: Normalize array assignmentMickaël Salaün1-56/+56
2022-05-09selftests/landlock: Add clang-format exceptionsMickaël Salaün3-7/+38
2022-02-23selftests: landlock: Add the uapi headers include variableMuhammad Usama Anjum1-1/+1
2021-12-10selftests/landlock: remove ARRAY_SIZE define from common.hShuah Khan1-4/+0
2021-04-22landlock: Enable user space to infer supported featuresMickaël Salaün1-0/+47
2021-04-22selftests/landlock: Add user space testsMickaël Salaün8-0/+3568