landlock-lsm / landlock-test-tools

Landlock test tools
https://landlock.io
GNU General Public License v2.0
0 stars 1 forks source link

Add support for containers #4

Closed l0kod closed 6 months ago

l0kod commented 7 months ago

This will make easier to use specific tools (e.g. linters) and test against different distros.

l0kod commented 7 months ago

I'm holding this PR for now because tests don't pass with the latest kernel. It's related to landlock-lsm/linux@0710a1a73fb45033ebb06073e374ab7d44a05f15 (and landlock-lsm/linux@41cca0542d7c79b6be3920a917f643c075ad1561), because of private mount points.

l0kod commented 6 months ago

See https://lore.kernel.org/all/20240426172252.1862930-1-mic@digikod.net/

l0kod commented 6 months ago

I'm holding this PR for now because tests don't pass with the latest kernel. It's related to landlock-lsm/linux@0710a1a (and landlock-lsm/linux@41cca05), because of private mount points.

Fixed in Linux 6.9 with landlock-lsm/linux@af300a3959290b005f27ab5858bfebcb4840cd66