mirror of
https://github.com/reactos/syzkaller.git
synced 2024-10-07 00:53:27 +00:00
9133037195
Two virtual wireless devices are instantiated during network devices initialization. A new flag (-wifi) is added that controls whether these virtual wifi devices are instantiated and configured during proc initialization. Also, two new pseudo syscalls are added: 1. syz_80211_inject_frame(mac_addr, packet, packet_len) -- injects an arbitrary packet into the wireless stack. It is injected as if it originated from the device identitied by mac_addr. 2. syz_80211_join_ibss(interface_name, ssid, ssid_len, mode) -- puts a specific network interface into IBSS state and joins an IBSS network. Arguments of syz_80211_join_ibss: 1) interface_name -- null-terminated string that identifies a wireless interface 2) ssid, ssid_len -- SSID of an IBSS network to join to 3) mode -- mode of syz_80211_join_ibss operation (see below) Modes of operation: JOIN_IBSS_NO_SCAN (0x0) -- channel scan is not performed and syz_80211_join_ibss waits until the interface reaches IF_OPER_UP. JOIN_IBSS_BG_SCAN (0x1) -- channel scan is performed (takes ~ 9 seconds), syz_80211_join_ibss does not await IF_OPER_UP. JOIN_IBSS_BG_NO_SCAN (0x2) -- channel scan is not performed, syz_80211_join_ibss does not await IF_OPER_UP. Local testing ensured that these syscalls are indeed able to set up an operating network and inject packets into mac80211. |
||
---|---|---|
.. | ||
android | ||
common_akaros.h | ||
common_bsd.h | ||
common_fuchsia.h | ||
common_kvm_amd64.h | ||
common_kvm_arm64.h | ||
common_linux.h | ||
common_test.h | ||
common_usb_linux.h | ||
common_usb_netbsd.h | ||
common_usb.h | ||
common_windows.h | ||
common.h | ||
executor_akaros.h | ||
executor_bsd.h | ||
executor_fuchsia.h | ||
executor_linux.h | ||
executor_test.h | ||
executor_windows.h | ||
executor.cc | ||
gen.go | ||
kvm_gen.cc | ||
kvm.h | ||
kvm.S | ||
kvm.S.h | ||
nocover.h | ||
stub.go | ||
style_test.go | ||
test_linux.h | ||
test.h |