nokaslr, thanks to @dakami at close #12

This commit is contained in:
Ciro Santilli
2018-02-01 20:20:35 +00:00
parent 7bd1508c98
commit c052a83205
3 changed files with 28 additions and 24 deletions

4
run
View File

@@ -10,7 +10,9 @@ kgdb=false
nographic=false
# norandmaps: Don't use address space randomization. Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space.
# printk.time=y: log in format: "[time ] msg" for all printk messages.
extra_append='norandmaps printk.devkmsg=on printk.time=y'
# nokaslr: https://unix.stackexchange.com/questions/397939/turning-off-kaslr-to-debug-linux-kernel-using-qemu-and-gdb
# Turned on by default since v4.12
extra_append='nokaslr norandmaps printk.devkmsg=on printk.time=y'
extra_flags=''
while getopts a:de:knqt:x OPT; do
case "$OPT" in