Skip to content

RFE: test kernel module loading using a module that is present by default#125

Open
infinisil wants to merge 1 commit into
linux-audit:mainfrom
tweag:kernel-module-change
Open

RFE: test kernel module loading using a module that is present by default#125
infinisil wants to merge 1 commit into
linux-audit:mainfrom
tweag:kernel-module-change

Conversation

@infinisil
Copy link
Copy Markdown

Since 6.13, the arp_tables module is not available in the default kernel config anymore, so let's use a different module, because the test doesn't need any specific one.

Tested in Nix by adjusting NixOS/nixpkgs#465550

Since 6.13, the arp_tables module is not available in the default kernel config anymore, so let's use a different module, because the test doesn't need any specific one
@LordGrimmauld
Copy link
Copy Markdown

LordGrimmauld commented Feb 26, 2026

I wonder whether we can instead locate a not-loaded-but-available kernel module automatically to prevent similar issues in the future? That of course risks a broken module being found by whatever heuristic introduced to get a loadable kernel module, so maybe just delaying this problem to some unknown future time is fine.

@rgbriggs
Copy link
Copy Markdown
Contributor

rgbriggs commented Feb 26, 2026 via email

@pcmoore
Copy link
Copy Markdown
Contributor

pcmoore commented May 27, 2026

Perhaps the best option is to build and load our own dummy module? Look at what the selinux-testsuite does with the module_load test: https://github.com/SELinuxProject/selinux-testsuite/tree/main/tests/module_load

@pcmoore pcmoore changed the title syscall_module: Use a kernel module that is present by default RFE: test kernel module loading using a module that is present by default May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants