Blame SOURCES/scap-security-guide-0.1.37-fix-missing-bash-remediation-include.patch

df3ea4
From 4f9987487d11001ef666408dc88abaf783fa7395 Mon Sep 17 00:00:00 2001
df3ea4
From: Marek Haicman <mhaicman@redhat.com>
df3ea4
Date: Tue, 12 Dec 2017 00:04:39 +0100
df3ea4
Subject: [PATCH] Fixed few remediation errors caused by missing include.
df3ea4
df3ea4
---
df3ea4
 ...el7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh | 2 ++
df3ea4
 shared/fixes/bash/disable_ctrlaltdel_burstaction.sh                    | 3 +++
df3ea4
 2 files changed, 5 insertions(+)
df3ea4
df3ea4
diff --git a/shared/bash_remediation_functions/rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh b/shared/bash_remediation_functions/rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh
df3ea4
index 26498471e..755d483ac 100644
df3ea4
--- a/shared/bash_remediation_functions/rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh
df3ea4
+++ b/shared/bash_remediation_functions/rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh
df3ea4
@@ -1,3 +1,5 @@
df3ea4
+source fix_audit_syscall_rule.sh
df3ea4
+
df3ea4
 # Perform the remediation for the 'adjtimex', 'settimeofday', and 'stime' audit
df3ea4
 # system calls on Red Hat Enterprise Linux 7 or Fedora OSes
df3ea4
 function rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation {
df3ea4
diff --git a/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh b/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh
df3ea4
index ab01748c8..5266cf255 100644
df3ea4
--- a/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh
df3ea4
+++ b/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh
df3ea4
@@ -1,3 +1,6 @@
df3ea4
 # platform = Red Hat Enterprise Linux 7, multi_platform_fedora
df3ea4
 
df3ea4
+# Include source function library.
df3ea4
+. /usr/share/scap-security-guide/remediation_functions
df3ea4
+
df3ea4
 replace_or_append '/etc/systemd/system.conf' '^CtrlAltDelBurstAction=' 'none' '@CCENUM@' '%s=%s'