mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-25 17:09:22 -05:00
minor mmap-rnd-bits improvements
This commit is contained in:
parent
a8e4121bef
commit
f4fd0f9012
@ -9,10 +9,12 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
shopt -s failglob
|
shopt -s failglob
|
||||||
|
|
||||||
|
more_info_link="https://forums.whonix.org/t/automate-mmap-randomisation-to-fix-ppc64el/16514"
|
||||||
|
|
||||||
exit_with_error() {
|
exit_with_error() {
|
||||||
echo "$0: SEE ALSO:" >&2
|
echo "$0: SEE ALSO:" >&2
|
||||||
echo "" >&2
|
echo "" >&2
|
||||||
echo "https://forums.whonix.org/t/automate-mmap-randomisation-to-fix-ppc64el/16514" >&2
|
echo "$more_info_link" >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,6 +58,8 @@ SYSCTL="\
|
|||||||
## This file is automatically generated by:
|
## This file is automatically generated by:
|
||||||
## $0
|
## $0
|
||||||
## Do not edit!
|
## Do not edit!
|
||||||
|
## See also:
|
||||||
|
## $more_info_link
|
||||||
|
|
||||||
## Improves ASLR effectiveness for mmap.
|
## Improves ASLR effectiveness for mmap.
|
||||||
vm.mmap_rnd_bits=${BITS_MAX}
|
vm.mmap_rnd_bits=${BITS_MAX}
|
||||||
|
Loading…
Reference in New Issue
Block a user