aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2018-11-20 21:23:27 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-11-21 05:27:55 +0100
commitfc8f6d862bfb74e65b0ff059824b873209ea3e38 (patch)
tree54bd929c6b9f7d3e926e4f8d86a2c15dc50c1c4a
parent37a6ea34f16615595e07bbbacdd842d511f962a6 (diff)
docs/openbsd: disabling library ASLR can improve VM boot time
-rw-r--r--docs/openbsd/setup.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/openbsd/setup.md b/docs/openbsd/setup.md
index da27a235e..3ba94d7e1 100644
--- a/docs/openbsd/setup.md
+++ b/docs/openbsd/setup.md
@@ -97,6 +97,17 @@ $ make -C compile/SYZKALLER
$ vmctl stop syzkaller-1 -w
$ vmctl start syzkaller-1 -c -t syzkaller -d "$VMIMG"
$ ssh "root@100.64.${VMID}.3" 'cat >~/.ssh/authorized_keys' <$SSHKEY.pub
+ ```
+
+5. Optionally, library ASLR can be disabled in order to improve boot time:
+
+ ```sh
+ $ echo library_aslr=NO | ssh "root@100.64.${VMID}.3" 'cat >/etc/rc.conf.local'
+ ```
+
+6. Finally, stop the VM:
+
+ ```sh
$ vmctl stop syzkaller-1 -w
```