-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernelCTF: GHA: add mitigation-v3b release without nftables
- Loading branch information
1 parent
c6972fc
commit 43a5a81
Showing
5 changed files
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# CONFIG_IO_URING is not set | ||
CONFIG_SYSTEM_TRUSTED_KEYS="" | ||
|
||
## required by CONFIG_KMALLOC_SPLIT_VARSIZE | ||
# CONFIG_SLAB_MERGE_DEFAULT is not set | ||
|
||
## turns on our mitigations | ||
CONFIG_KMALLOC_SPLIT_VARSIZE=y | ||
CONFIG_SLAB_VIRTUAL=y | ||
|
||
## turns on CONFIG_RANDOM_KMALLOC_CACHES | ||
CONFIG_RANDOM_KMALLOC_CACHES=y | ||
|
||
## turns on additional hardenings | ||
CONFIG_BUG_ON_DATA_CORRUPTION=y | ||
CONFIG_FORTIFY_SOURCE=y | ||
CONFIG_DEBUG_WX=y | ||
CONFIG_BPF_UNPRIV_DEFAULT_OFF=y | ||
# CONFIG_FUSE_FS is not set | ||
|
||
### Make the kernel less annoying to debug | ||
## Compile the kernel with debug info | ||
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y | ||
# Have all symbols in kallsyms | ||
CONFIG_KALLSYMS_ALL=y | ||
|
||
# CONFIG_NF_TABLES is not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters