Skip to content

Commit

Permalink
Fix kernel config name typo in rule kernel_config_slab_freelist_random
Browse files Browse the repository at this point in the history
  • Loading branch information
matusmarhefka committed Aug 14, 2023
1 parent e738815 commit 07d772c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-
Randomizes the freelist order used on creating new pages.
This configuration is available from kernel 5.9, but may be available if backported by distros.
{{{ describe_kernel_build_config("CONFIG_SLAB_FRELIST_RANDOM", "y") | indent(4) }}}
{{{ describe_kernel_build_config("CONFIG_SLAB_FREELIST_RANDOM", "y") | indent(4) }}}
rationale: |-
This security feature reduces the predictability of the kernel slab allocator against heap overflows.
Expand All @@ -28,11 +28,11 @@ references:
ocil_clause: 'the kernel was not built with the required value'

ocil: |-
{{{ ocil_kernel_build_config("CONFIG_SLAB_FRELIST_RANDOM", "y") | indent(4) }}}
{{{ ocil_kernel_build_config("CONFIG_SLAB_FREELIST_RANDOM", "y") | indent(4) }}}
template:
name: kernel_build_config
vars:
config: CONFIG_SLAB_FRELIST_RANDOM
config: CONFIG_SLAB_FREELIST_RANDOM
value: 'y'

0 comments on commit 07d772c

Please sign in to comment.