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

Implement parsing of the CONFIG_LSM kconfig option #151

Open
a13xp0p0v opened this issue Aug 10, 2024 · 0 comments
Open

Implement parsing of the CONFIG_LSM kconfig option #151

a13xp0p0v opened this issue Aug 10, 2024 · 0 comments
Labels
new_feature A new feature of the tool

Comments

@a13xp0p0v
Copy link
Owner

The CONFIG_LSM kconfig option contains a list of LSM modules loaded by the kernel.
Let's create a simple mechanism for checking that it contains the needed LSM module.

The checking rule might look like this:

l += [KconfigCheck('self_protection', 'kspp', 'LSM', '*lockdown*')]

Here '*lockdown*' means that lockdown is in the comma-separated list.

@a13xp0p0v a13xp0p0v added the new_feature A new feature of the tool label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new_feature A new feature of the tool
Projects
None yet
Development

No branches or pull requests

1 participant