diff options
| author | Mickaël Salaün <[email protected]> | 2025-01-08 15:43:30 +0000 |
|---|---|---|
| committer | Mickaël Salaün <[email protected]> | 2025-01-17 18:05:38 +0000 |
| commit | 2a794ee613617b5d8fd978b7ef08d64aa07ff2e6 (patch) | |
| tree | 9e38acd1352ea2a5ae06af4d644a724d38605d25 /net/switchdev/switchdev.c | |
| parent | selftests/landlock: Add wrappers.h (diff) | |
| download | kernel-2a794ee613617b5d8fd978b7ef08d64aa07ff2e6.tar.gz kernel-2a794ee613617b5d8fd978b7ef08d64aa07ff2e6.zip | |
selftests/landlock: Add layout1.umount_sandboxer tests
Check that a domain is not tied to the executable file that created it.
For instance, that could happen if a Landlock domain took a reference to
a struct path.
Move global path names to common.h and replace copy_binary() with a more
generic copy_file() helper.
Test coverage for security/landlock is 92.7% of 1133 lines according to
gcc/gcov-14.
Cc: Günther Noack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mic: Update date and add test coverage]
Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
