-
Notifications
You must be signed in to change notification settings - Fork 168
Create a tool that changes kconfig options according to the recommendations #67
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
Labels
new_feature
A new feature of the tool
Comments
That tool would also help to filter out the kconfig options that can't be enabled for the given kernel version. |
a13xp0p0v
added a commit
that referenced
this issue
Jun 12, 2023
With this argument the tool generates a Kconfig fragment with the security hardening options for the selected microarchitecture. Refers to #67. This Kconfig fragment can be merged with the existing Linux kernel config: $ ./bin/kconfig-hardened-check -g X86_64 > /tmp/fragment $ cd ~/linux-src/ $ ./scripts/kconfig/merge_config.sh .config /tmp/fragment Using .config as base Merging /tmp/fragment Value of CONFIG_BUG_ON_DATA_CORRUPTION is redefined by fragment /tmp/fragment: Previous value: # CONFIG_BUG_ON_DATA_CORRUPTION is not set New value: CONFIG_BUG_ON_DATA_CORRUPTION=y ...
This feature is implemented as a part of the With the This Kconfig fragment can be merged with the existing Linux kernel config:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should use the JSON output of kconfig-hardened-check.
The text was updated successfully, but these errors were encountered: