Skip to content

Commit

Permalink
RHEL-08-010421 Same grubby behavior than on other tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
JSurf committed Sep 29, 2021
1 parent be21bff commit cfe8e3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/fix-cat2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,9 @@

- name: "MEDIUM | RHEL-08-010421 | PATCH | RHEL 8 must clear the page allocator to prevent use-after-free attacks. | Set page poison 1 as active"
shell: grubby --update-kernel=ALL --args="page_poison=1"
when:
- (ansible_proc_cmdline.page_poison is defined and ansible_proc_cmdline.page_poison != '1') or
(ansible_proc_cmdline.page_poison is not defined)

- name: "MEDIUM | RHEL-08-010421 | PATCH | RHEL 8 must clear the page allocator to prevent use-after-free attacks. | Set page poison 1 for kernel updates if doesn't exist"
lineinfile:
Expand Down

0 comments on commit cfe8e3d

Please sign in to comment.