aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-12 20:42:14 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-13 12:52:09 +0100
commit212f927d3c939cfe129ba1c640247b92145ff48d (patch)
tree17f0a52ae9b03a992308c59441d4154342ffb81a /sys/linux/socket.txt
parent9ea6693e1b62ec7829bf82e383fbe8b8bd7f50ae (diff)
executor: setup network devices
We test in a new network namespace, which does not have any devices set up (even lo). Create/up as many devices as possible. Give them some addresses and use these addresses in descriptions.
Diffstat (limited to 'sys/linux/socket.txt')
-rw-r--r--sys/linux/socket.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt
index 36118441d..801b2f5ff 100644
--- a/sys/linux/socket.txt
+++ b/sys/linux/socket.txt
@@ -291,10 +291,14 @@ syzn_devname {
z0 const[0, int8]
}
-# We could add "eth0" to this list as well, but this will affect the connection between fuzzer and manager and produce lots of "no output" crashes.
-devnames = "lo", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "sit0", "ip6tnl0", "ip6gre0", "bond0", "dummy0", "eql", "ifb0", "ipddp0", "yam0", "bcsf0", "bcsh0", "teql0", "nr0", "rose0", "irlan0", "bpq0"
+# We could add "eth0" to this list as well, but this will affect the connection
+# between fuzzer and manager and produce lots of "no output" crashes
+# (actually, this is not true now since all testing is done in a separate
+# network namespace, but we still don't mess with eth0).
+devnames = "lo", "tunl0", "gre0", "gretap0", "ip_vti0", "ip6_vti0", "sit0", "ip6tnl0", "ip6gre0", "ip6gretap0", "bond0", "dummy0", "eql", "ifb0", "ipddp0", "yam0", "bcsf0", "bcsh0", "teql0", "nr0", "rose0", "irlan0", "erspan0", "bpq0", "vlan0", "bridge0", "vcan0", "syzkaller0", "syzkaller1"
devname [
+# TODO: this should be a string, but we currently can't make a random string of fixed size.
generic array[int8, IFNAMSIZ]
common string[devnames, IFNAMSIZ]
syzn syzn_devname