- 13 Aug, 2022 1 commit
-
-
Alexander Popov authored
-
- 21 Jul, 2022 4 commits
-
-
Having HARDENED_USERCOPY_FALLBACK disabled is not enough.
Alexander Popov authored -
Alexander Popov authored
-
The Linux kernel 4.16-4.17 has a weird STACKPROTECTOR configuration: CC_STACKPROTECTOR_NONE -- stackprotector is disabled; CC_STACKPROTECTOR_REGULAR -- similar to current STACKPROTECTOR; CC_STACKPROTECTOR_STRONG -- similar to current STACKPROTECTOR_STRONG; CC_STACKPROTECTOR_AUTO -- the best stack-protector that compiler provides. These options are mutually exclusive. Let's improve the STACKPROTECTOR check: - Add CC_STACKPROTECTOR_REGULAR as a valid alternative name of this option; - Add CC_STACKPROTECTOR_STRONG to avoid false negative result; - Add CC_STACKPROTECTOR_AUTO hoping that it enables at least STACKPROTECTOR. The STACKPROTECTOR_STRONG check still requires explicit configuration, not CC_STACKPROTECTOR_AUTO. Thanks to @izh1979 for the idea
Alexander Popov authored -
I can't recommend disabling it, because LKDTM is used to test the kernel hardening features. But I cant recommend enabling it, because LKDTM contains intentional memory corruption errors. It's not for production systems. So let's simply drop the comment about LKDTM.
Alexander Popov authored
-
- 17 Jul, 2022 4 commits
-
-
#68
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
- 11 Jul, 2022 4 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
- 09 Jul, 2022 2 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
- 08 Jul, 2022 1 commit
-
-
Alexander Popov authored
-
- 20 Jun, 2022 4 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Use the presence check for slab_nomerge. Also check that slab_merge is not set.
Alexander Popov authored -
Reusing "is not set" for CmdlineCheck is a nice hack.
Alexander Popov authored
-
- 19 Jun, 2022 3 commits
-
-
Alexander Popov authored
-
Nice!
Alexander Popov authored -
populate_with_data() must be called after all checks have been added.
Alexander Popov authored
-
- 08 Jun, 2022 10 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Thanks to the coverage info
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
And also test the tool without "-l".
Alexander Popov authored -
Alexander Popov authored
-
- 30 May, 2022 7 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-