forked from ansible-lockdown/RHEL9-CIS
12 lines
269 B
Django/Jinja
12 lines
269 B
Django/Jinja
## This file is managed by Ansible, YOUR CHANGES WILL BE LOST!
|
|
|
|
{% if rhel9cis_rule_1_5_1 %}
|
|
# Adress space randomise
|
|
# CIS 1.5.1
|
|
kernel.randomize_va_space = 2
|
|
{% endif %}
|
|
{% if rhel9cis_rule_1_5_2 %}
|
|
# Ptrace scope
|
|
# CIS 1.5.2
|
|
kernel.yama.ptrace_scope = 1
|
|
{% endif %}
|