- 12 Jun, 2023 9 commits
-
-
Refers to #67.
Alexander Popov authored -
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 ...
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
See vdso32_setup() in arch/x86/entry/vdso/vdso32-setup.c
Alexander Popov authored -
See vsyscall_setup() in arch/x86/entry/vsyscall/vsyscall_64.c
Alexander Popov authored -
See iommu_setup() in arch/x86/kernel/pci-dma.c
Alexander Popov authored -
See setup_slub_debug() in mm/slub.c
Alexander Popov authored -
Alexander Popov authored
-
- 05 Jun, 2023 2 commits
-
-
Also fix the rodata check (change '1' to 'on'). See set_debug_rodata() in init/main.c.
Alexander Popov authored -
See parse_spectre_v4_param() in arch/arm64/kernel/proton-pack.c
Alexander Popov authored
-
- 28 May, 2023 3 commits
-
-
Alexander Popov authored
-
Now it's enabled by default for X86_64.
Alexander Popov authored -
Alexander Popov authored
-
- 27 May, 2023 2 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
- 09 May, 2023 1 commit
-
-
Alexander Popov authored
-
- 08 May, 2023 4 commits
-
-
Now functional_test.sh is a common script used both in GitHub Actions and Woodpecker-CI. And also test the forgotten .gz kernel config.
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
- 07 May, 2023 3 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
- 01 May, 2023 1 commit
-
-
We need to check them because these kernel cmdline parameters can override the COMPAT_VDSO kconfig option.
Alexander Popov authored
-
- 30 Apr, 2023 3 commits
-
-
CONFIG_COMPAT_VDSO disabled ASLR of vDSO only on X86_64 and X86_32. On ARM64 this option has different meaning (see the mainline commit 7c4791c9efca8c105a86022f7d5532aeaa819125). Thanks to @izh1979 for the idea
Alexander Popov authored -
Disabling X86_VSYSCALL_EMULATION turns vsyscall off completely, and LEGACY_VSYSCALL_NONE can be changed at boot time via the cmdline parameter. Thanks to @izh1979 for the idea
Alexander Popov authored -
Alexander Popov authored
-
- 22 Apr, 2023 6 commits
-
-
Use new override_expected_value() for that. This is needed to avoid wrong recommendations for ARM64 and ARM, where CONFIG_ARCH_MMAP_RND_BITS_MAX depends on the paging configuration.
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
SELinux, Smack, Tomoyo, and AppArmor implement Mandatory Access Control (MAC). Thanks to @izh1979 for the idea
Alexander Popov authored -
Thanks to @izh1979 for the idea
Alexander Popov authored -
The CONFIG_CORESIGHT framework provides a kernel interface for the CoreSight debug and trace drivers for ARM/ARM64. It's better to have it disabled to cut attack surface.
Alexander Popov authored
-
- 09 Apr, 2023 4 commits
-
-
CONFIG_INTEGRITY is useless without enabling IMA/EVM. We can't require enabling IMA/EVM because there are other file system integrity mechanisms like DM_VERITY, FS_VERITY, etc. So there is no reason to check CONFIG_INTEGRITY. Refers to #75
Alexander Popov authored -
Alexander Popov authored
-
Also rename old Android configs
Alexander Popov authored -
Alexander Popov authored
-
- 02 Apr, 2023 2 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-