Giter Club home page Giter Club logo

landlock-test-tools's Introduction

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.

docker-run

Build a container to build the kernel, samples, tests and check everything for Landlock.

Required installed and configured software: docker and optionally docker-buildx.

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
.../docker-run.sh debian/sid

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

landlock-test-tools's People

Contributors

l0kod avatar

Watchers

 avatar

Forkers

l0kod

landlock-test-tools's Issues

Add container images

It would help to make sure everything works fine with different Linux distributions. This could also be useful for development.

Add support for initial kernel tests

We need a way to build a kernel with Landlock, the related sample (sandboxer), the Kselftest, and run all the tests including KUnit ones.

The will be useful for any contributor and to run tests with the GitHub CI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.