From 8e4c2e24cb05daf27a600b570d3a774083a1210b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 6 Apr 2018 17:25:54 +0200 Subject: executor: create team device --- sys/linux/socket.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/linux/socket.txt') diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 5a652fb4f..71a878d14 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -233,11 +233,13 @@ ioctl$sock_SIOCGPGRP(fd sock, cmd const[SIOCGPGRP], arg ptr[out, pid]) resource ifindex[int32] -type ifreq_t[ELEM] { - ifr_ifrn devname +type ifreq_dev_t[DEVNAME, ELEM] { + ifr_ifrn string[DEVNAME, IFNAMSIZ] elem ELEM } [size[IFREQ_SIZE]] +type ifreq_t[ELEM] ifreq_dev_t[devnames, ELEM] + type ifreq ifreq_t[ifr_ifru] ifr_ifru [ @@ -258,7 +260,7 @@ define IFREQ_SIZE sizeof(struct ifreq) # 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", "syz_tun", "syzkaller0", "syzkaller1" +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", "team0", "syz_tun", "syzkaller0", "syzkaller1" type devname string[devnames, IFNAMSIZ] -- cgit mrf-deployment