Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with a kernel that doesn't support Landlock #26

Closed
l0kod opened this issue Jan 5, 2023 · 3 comments
Closed

Test with a kernel that doesn't support Landlock #26

l0kod opened this issue Jan 5, 2023 · 3 comments
Labels
test Test improvement

Comments

@l0kod
Copy link
Member

l0kod commented Jan 5, 2023

Ubuntu 18 is useful because it provides a kernel that doesn't support Landlock. Because of actions/runner-images#6002, we need to replace it with a more generic approach, probably with a dedicated kernel, which is not trivial because this implies to manage a full VM.

@l0kod
Copy link
Member Author

l0kod commented Jan 5, 2023

@l0kod
Copy link
Member Author

l0kod commented Aug 3, 2023

#39 removed the dependency, but we still need to test with LANDLOCK_CRATE_TEST_ABI: 0.

Thanks to torvalds/linux@74ce793, it is now possible to fully use UML to test Landlock. I have code that I need to clean up a bit before creating a PR.

@l0kod l0kod changed the title Replace Ubuntu 18 in the CI Test with a kernel that doesn't support Landlock Aug 3, 2023
@l0kod
Copy link
Member Author

l0kod commented Sep 11, 2023

Handled with #41

@l0kod l0kod closed this as completed Sep 11, 2023
@l0kod l0kod added the test Test improvement label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Test improvement
Projects
None yet
Development

No branches or pull requests

1 participant