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

Improve Kselftest coverage with fault injection #22

Open
l0kod opened this issue Jan 31, 2024 · 0 comments
Open

Improve Kselftest coverage with fault injection #22

l0kod opened this issue Jan 31, 2024 · 0 comments
Labels
test Test improvement

Comments

@l0kod
Copy link
Member

l0kod commented Jan 31, 2024

Fault injection enables to trigger kernel errors (e.g. when calling kmalloc()) and then test rare cases.

It would be useful to improve kernel test coverage by extending currents test cases with kernel fault injections (e.g., thanks to /proc/self/task/<tid>/fail-nth). It would be great to be able to deterministically test all Landlock's related code.

Example: iommufd_fail_nth.c.

@l0kod l0kod added the test Test improvement label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Test improvement
Projects
Status: Ready
Development

No branches or pull requests

1 participant