Skip to content

l0kod/landlock-test-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Landlock test tools

This repository is a collection of scripts and configurations to easily test various Landlock kernels thanks to User-Mode Linux (UML).

To make tests quick, interesting kernels are stored in kernels/artifacts and built with the kernels/make-uml.sh script.

uml-run.sh can be used to launch an UML kernel with an init test script.

check-linux

Build the kernel, samples, tests and check everything for Landlock.

cd linux
.../check-linux.sh build kselftest kunit

rust-landlock

test-rust.sh can be used to test the Landlock crate against a specific kernel version:

cd rust-landlock
.../test-rust.sh linux-6.1 2

Releases

No releases published

Packages

No packages published

Languages

  • Roff 84.5%
  • Shell 15.5%