aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
Commit message (Collapse)AuthorAgeFilesLines
* docs: update Go versionsDmitry Vyukov2022-01-191-15/+6
| | | | | Generally we aim at supporting 2 latest versions of Go. Currently it is 1.16 and 1.17.
* /docs: update instructions for source checkoutAdam Goska2022-01-192-4/+4
| | | | | | Updated documentation regarding source code checkout from the legacy gopath mode 'go get' to 'git clone'. Fixes #2828
* docs: update reporting_kernel_bugs.mdAlexander Potapenko2022-01-111-1/+6
| | | | Elaborate on report sanity.
* docs: update bug reporting instructionsf0rm2l1n2021-10-271-0/+1
|
* docs/linux: format QEMU sectionTaras Madan2021-09-291-4/+12
|
* docs/linux: format Image sectionTaras Madan2021-09-291-4/+14
|
* docs/linux: format Kernel sectionTaras Madan2021-09-291-14/+42
|
* docs/linux: add Prerequisites sectionTaras Madan2021-09-291-4/+14
|
* docs/linux: extend GCC sectionTaras Madan2021-09-291-1/+7
|
* docs/linux: recommend setting net.ifnames to 0Aleksandr Nogikh2021-07-073-0/+50
| | | | | | 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.
* docs/linux: remove the mentions of WheezyAleksandr Nogikh2021-07-071-2/+2
| | | | | | | | It is now impossible to create a Debian Wheezy image (at least in a way proposed by the documentation). Instead, demonstrate how to create a Debian Buster image, the latest version of Debian as for now.
* docs/linux: fixed deprecated commandMara Mihali2021-05-171-2/+4
|
* docs/linux: fix config syntaxDmitry Vyukov2021-04-141-3/+1
| | | | | | | Sandbox value needs quotes, but we can simply drop sandbox as "none" is the default value. Fixes #2526
* docs: update external_fuzzing_usb.md to match the latest codeRadoslav Gerganov2021-01-221-28/+15
|
* docs: update USB documentationAndrey Konovalov2020-12-161-31/+25
| | | | Minor updates and readability improvements.
* docs/linux: fix up example qemu command for UbuntuTom Parkin2020-12-091-1/+1
| | | | | | | | | | | | | setup_ubuntu-host_qemu-vm_x86-64-kernel.md recommends using create_image.sh to create a Debian Stretch VM image. The script configures the image assuming that the kernel will be booted with predictable network device naming disabled, which syz-manager currently does but the example qemu command in the setup document does not. To avoid confusing the user, add "net.ifnames=0" to the example qemu command to disable predictable device naming. If not the VM fails to bring up network interfaces and is then inaccessible via. ssh.
* docs: update setup_linux-host_qemu-vm_arm64-kernel.mdAndrey Konovalov2020-11-241-1/+1
| | | | | Clarify that the kernel build instructions refer to building the kernel and not buildroot.
* vm/vmware: improve kernel log collection and VM managementRadoslav Gerganov2020-10-302-2/+10
| | | | | | | | | | * Collecting kernel logs with dmesg over ssh doesn't work well and sometimes we miss call traces when a crash occurs. Getting the kernel log from a virtual serial port is much more effective. * Creating linked clone VMs is faster then full clone VMs but it requires snapshot management and this will bring more complexity to syzkaller. Keep it simple and create full clone VMs for now. * Use host-only networking because the VM gets its IP faster that way
* docs/linux: update recommended kernel to 5.9-rc1Tobias Klauser2020-10-211-3/+1
| | | | | | | | | | The patch adding kcov support for riscv64 [1] was merged in the 5.9 merge window (torvalds/linux@20d38f7c45a4). Adjust the docs accordingly to use kernel 5.9-rc1. [1] https://lore.kernel.org/linux-riscv/20200626124056.29708-1-tklauser@distanz.ch/ Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* dashboard/config/linux: specify LSM in configsDmitry Vyukov2020-10-211-1/+1
| | | | | | | | | | | | | | | | | We used command line arguments to select LSM beause we did not have a good way to manage lots of configs. The problem is that command line arguments are not captures/provided with bug reports, so the configs we provided could not reproduce the bug for developers. We also had to duplicate .cmdline files 3 times. Now that we have a good way to manager lots of configs, embed LSM into the config. Now that we have 3 configs also switch apparmor and smack to SLUB. SLUB is the default for a very long time. Leave SLAB only on selinux. Update #2171
* dashboard/config: delete old scripts and configsDmitry Vyukov2020-10-211-10/+0
| | | | | | | | The shell and python scripts and config fragments are replaced by the new config generation system (dashboard/config/linux/bits and tools/syz-kconf). Update #2171
* dashboard/config: move OS configs into separate dirsDmitry Vyukov2020-10-132-4/+4
| | | | | | | | | | | There are too many assorted things in the config dir now. Split them per-OS. For now we just copy them to simplify deployment. When syzbot instances are switched to new configs, we can remove the old ones. Update #2171
* vm: implement the VM interface for VMware WorkstationRadoslav Gerganov2020-10-101-1/+33
| | | | | | | Use the "vmrun" utility to manage Workstation VMs. The syzkaller manager creates temporary VMs (linked clones) from a base image, gets their IP address and uses ssh to deploy and run programs (similar to the isolated mode).
* docs/linux: describe the current state of 802.11 frame descriptionsAleksandr Nogikh2020-10-051-0/+112
|
* docs/linux: add USB/IP Documentationharputluoglu2020-10-021-0/+36
|
* docs/linux: add an initial description of wifi fuzzingAleksandr Nogikh2020-10-011-0/+135
|
* docs/linux: add instructions for fuzzing on VMware hosted hypervisorsRadoslav Gerganov2020-09-232-0/+80
| | | | | | | Add new page for fuzzing x86-64 Linux kernel on VMware VMs. It explains how to create a VMDK image and how to run it on Ubuntu host with Workstation installed. For now only the isolated mode of syzkaller is supported.
* docs/linux: fix whitespaces in coverage docDmitry Vyukov2020-09-151-2/+2
|
* docs/linux/coverage.md: expand readelf section and reformatm5imunovic2020-09-151-12/+46
|
* docs/linux/coverage.md: fix doc formatm5imunovic2020-09-151-19/+31
|
* docs/linux/coverage.md: expand coverage reporting docm5imunovic2020-09-151-5/+99
|
* tools/check-whitespace.sh: check for trailing whitespacesDmitry Vyukov2020-09-147-54/+54
| | | | | | File types that we don't format automatically can end up with such basic untidiness as trailing whitespaces. Check for these. Remove all existing precedents.
* docs/linux: describe how to setup s390x test environmentAlexander Egorenkov2020-09-132-0/+175
| | | | Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
* docs: clarify that Go 1.14 is required for contributorsDmitry Vyukov2020-09-111-3/+4
|
* dashboard/config: enable CONFIG_FAULT_INJECTION_USERCOPYAlbert van der Linde2020-09-091-0/+1
| | | | | | | As CONFIG_FAULT_INJECTION_USERCOPY is already included in linux-next, enable the config. Fixes #1979
* docs/usb: fix raw-gadget instructionsAndrey Konovalov2020-08-251-3/+2
|
* docs/linux: update found bugsDmitry Vyukov2020-08-241-0/+15
|
* docs/linux: fix KMEMLEAK variable in suggested kernel configsclslgrnc2020-08-211-1/+1
|
* Missing space at end of line of commandThePraeceps2020-08-191-1/+1
| | | There is a missing space on the command at line 131, which when copied causes it not to execute properly.
* docs/linux: use OpenSBI jump firmware in QEMU for linux/riscv64Tobias Klauser2020-07-091-3/+5
| | | | | | | | Use the OpenSBI "jump" firmware with the QEMU -bios parameter to boot linux/riscv64. This will allow to boot the kernel directly without having to recompile OpenSBI every time the kernel is recompiled. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* docs/linux: add not about default OpenSBI firmware in QEMU for linux/riscv64Tobias Klauser2020-07-091-0/+29
| | | | | | | | Mention the possibility to use `-bios default` to use OpenSBI provided with QEMU. However, this might not work on all distributions yet, so make it optional. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* docs/linux: drop dhcpcd from buildroot options in linux/riscv64 instructionsTobias Klauser2020-07-091-1/+0
| | | | | | buildroot already installs udhcpc as a DHCP client. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* docs/linux: mention QEMU version in linux/riscv64 instructionsTobias Klauser2020-07-091-0/+4
| | | | Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* docs/linux: use OpenSBI instead of BBL to boot linux/riscv64 QEMU VMTobias Klauser2020-07-011-10/+12
| | | | | | | | | | OpenSBI seems to be the recommended boot method nowadays, see e.g. [1], [2] [1] https://riscv.org/2019/01/risc-v-community-releases-opensbi-to-foster-continued-ecosystem-growth/ [2] https://wiki.freebsd.org/riscv#OpenSBI Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* docs/linux: mention CONFIG_KMEMLEAK in suggested kernel configsTobias Klauser2020-07-011-0/+7
| | | | Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* docs/linux: change suggested kernel git repoDmitry Vyukov2020-06-291-1/+1
| | | | | | | Suggest to checkout linux kernel from kernel.org rather than from github. github is a mirror and we don't use it ourselves and I think it's generally not used by kernel developers. The kernel.org repo is the canonical location.
* Update setup_ubuntu-host_qemu-vm_x86-64-kernel.mdAndrey Konovalov2020-06-291-1/+1
|
* Update setup_ubuntu-host_qemu-vm_x86-64-kernel.mdAndrey Konovalov2020-06-291-1/+3
|
* docs/linux: add setup guide for riscv64 kernel in QEMUTobias Klauser2020-06-272-0/+150
| | | | Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* Update external_fuzzing_usb.mdAndrey Konovalov2020-06-191-4/+8
|