aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux/kernel_configs.md
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-07-06 15:44:11 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-07-07 10:50:26 +0200
commitbbe0b1e942b7610fb168fbc9edd333b3f4bc4b27 (patch)
treed97e3a67b2a0dd2e366332ca7121ab39d497c797 /docs/linux/kernel_configs.md
parent6838e1d3fb7e343e0d851f576def1bd347abc614 (diff)
docs/linux: recommend setting net.ifnames to 0
When net.ifnames is set to 1, syzkaller might not be able to connect to the virtual machines. Add the corresponding recommendations to the documentation as well as a note to the troubleshooting guide.
Diffstat (limited to 'docs/linux/kernel_configs.md')
-rw-r--r--docs/linux/kernel_configs.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/linux/kernel_configs.md b/docs/linux/kernel_configs.md
index ebd907955..b6dc311c2 100644
--- a/docs/linux/kernel_configs.md
+++ b/docs/linux/kernel_configs.md
@@ -65,6 +65,13 @@ It is recommended to disable the following config (and required if your kernel d
# CONFIG_RANDOMIZE_BASE is not set
```
+It is also recommended to disable the Predictable Network Interface Names mechanism. This can be done
+either via syzkaller configuration (see details [here](troubleshooting.md)) or by adjusting the following configs:
+```
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="net.ifnames=0"
+```
+
## Bug detection configs
Syzkaller is meant to be used with