-
Notifications
You must be signed in to change notification settings - Fork 151
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
Add support for x86_32, arm, and arm64 architectures #10
Commits on Jan 17, 2019
-
Update kspp-recommendations.config to look like an x86_64 config
Add a header that will make the checker script think that it is dealing with a x86_64 config file. Additionally, update the stackprotector related options to reflect the >= 4.18 names. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 0316ba5 - Browse repository at this point
Copy the full SHA 0316ba5View commit details -
Make the script aware of target architecture
Add the ability to parse the processor architecture from the config file. The user can override the architecture with the -a. Additionally, if the user wants to use the -p option to print the recommendations without specifying a kernel config file, the -a option can be used to print the recommendations that correspond to the specificied architecture. Some recommendations are architecture specific so we need to warn the user if they're checking a kernel config for an architecture that doesn't have any architecture specific recommendations. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for a456320 - Browse repository at this point
Copy the full SHA a456320View commit details -
Differentiate between 32 and 64 bit x86. This sometimes requires a pre-parse of the kernel config in order to detect the sub-architecture before constructing the checklist. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 4a7d419 - Browse repository at this point
Copy the full SHA 4a7d419View commit details -
Check for ARM and ARM64 hardening options. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 32959dc - Browse repository at this point
Copy the full SHA 32959dcView commit details -
Make KSPP recommendations config x86_64 specific
Rename the file so that it is clear that the recommendations are x86-64 specific. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for e4c976c - Browse repository at this point
Copy the full SHA e4c976cView commit details -
Add a KSPP recommendations config for x86_32
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 9ca1a40 - Browse repository at this point
Copy the full SHA 9ca1a40View commit details -
Add a KSPP recommendations config for arm
The arm section of the KSPP Recommended_Settings wiki page contains the following lines: # If building an old out-of-tree Qualcomm kernel, this is similar to # CONFIG_STRICT_KERNEL_RWX. CONFIG_STRICT_MEMORY_RWX=y Since this option only applies to an old out-of-tree Qualcomm kernel, it is not included in the config file. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 0f3c54f - Browse repository at this point
Copy the full SHA 0f3c54fView commit details -
Add a KSPP recommendations config for arm64
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f790cf5 - Browse repository at this point
Copy the full SHA f790cf5View commit details