From 5d4d04a2ebeeea7e096c1680779f2897a03838c6 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 6 May 2023 11:54:00 +0000 Subject: [PATCH] output --- usr/libexec/security-misc/mmap-rnd-bits | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/libexec/security-misc/mmap-rnd-bits b/usr/libexec/security-misc/mmap-rnd-bits index 4dd5432..a79eebd 100755 --- a/usr/libexec/security-misc/mmap-rnd-bits +++ b/usr/libexec/security-misc/mmap-rnd-bits @@ -71,8 +71,11 @@ vm.mmap_rnd_compat_bits=${COMPAT_BITS_MAX}" ## Write the sysctl.d conf file. if echo "${SYSCTL}" | tee "$aslr_mmap_config_file" > /dev/null ; then + echo "$0: INFO: Successfully written ASLR map config file: +$aslr_mmap_config_file" exit 0 fi -echo "$0: ERROR: Error writing ASLR map config file '$aslr_mmap_config_file'!" >&2 +echo "$0: ERROR: Error writing ASLR map config file: +$aslr_mmap_config_file" >&2 exit_with_error