Blob Blame History Raw
From 4f9987487d11001ef666408dc88abaf783fa7395 Mon Sep 17 00:00:00 2001
From: Marek Haicman <mhaicman@redhat.com>
Date: Tue, 12 Dec 2017 00:04:39 +0100
Subject: [PATCH] Fixed few remediation errors caused by missing include.

---
 ...el7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation.sh | 2 ++
 shared/fixes/bash/disable_ctrlaltdel_burstaction.sh                    | 3 +++
 2 files changed, 5 insertions(+)

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
index 26498471e..755d483ac 100644
--- 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
@@ -1,3 +1,5 @@
+source fix_audit_syscall_rule.sh
+
 # Perform the remediation for the 'adjtimex', 'settimeofday', and 'stime' audit
 # system calls on Red Hat Enterprise Linux 7 or Fedora OSes
 function rhel7_fedora_perform_audit_adjtimex_settimeofday_stime_remediation {
diff --git a/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh b/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh
index ab01748c8..5266cf255 100644
--- a/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh
+++ b/shared/fixes/bash/disable_ctrlaltdel_burstaction.sh
@@ -1,3 +1,6 @@
 # platform = Red Hat Enterprise Linux 7, multi_platform_fedora
 
+# Include source function library.
+. /usr/share/scap-security-guide/remediation_functions
+
 replace_or_append '/etc/systemd/system.conf' '^CtrlAltDelBurstAction=' 'none' '@CCENUM@' '%s=%s'