From fc7735a27949755327024847e12dcc1b868bcb99 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 1 Aug 2020 14:44:36 +0200 Subject: dashboard/config: move OS configs into separate dirs 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 --- docs/linux/external_fuzzing_usb.md | 6 +++--- docs/linux/kernel_configs.md | 2 +- docs/syzbot.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/linux/external_fuzzing_usb.md b/docs/linux/external_fuzzing_usb.md index 1309bf5ba..3229512ba 100644 --- a/docs/linux/external_fuzzing_usb.md +++ b/docs/linux/external_fuzzing_usb.md @@ -70,14 +70,14 @@ c. making UDC driver name configurable for `syz-execprog` and `syz-prog2c`. 2. Configure the kernel (at the very least `CONFIG_USB_RAW_GADGET=y` and `CONFIG_USB_DUMMY_HCD=y` need to be enabled). - The easiest option is to use the [config](/dashboard/config/upstream-usb.config) from the syzbot USB fuzzing instance. + The easiest option is to use the [config](/dashboard/config/linux/upstream-usb.config) from the syzbot USB fuzzing instance. Another option is to use the USB config generation [script](/dashboard/config/generate-config-usb.sh). This script allows to extract enabled USB related configs from a set of existing `.config` files. - Right now it extracts configs only from [one](/dashboard/config/distros) of the Ubuntu kernel's configs. + Right now it extracts configs only from [one](/dashboard/config/linux/distros) of the Ubuntu kernel's configs. ``` bash - cd ./dashboard/config/ + cd ./dashboard/config/linux/ # Put relevant .configs into ./distros/ CC=$COMPILER_BINARY_PATH KERNEL_SOURCE=$KERNEL_SOURCE_PATH ./generate-config-usb.sh ``` diff --git a/docs/linux/kernel_configs.md b/docs/linux/kernel_configs.md index 6fc8b33af..62746a453 100644 --- a/docs/linux/kernel_configs.md +++ b/docs/linux/kernel_configs.md @@ -1,6 +1,6 @@ # Linux kernel configs -List of recommended kernel configs for `syzkaller`. See [syzbot config](/dashboard/config/upstream-kasan.config) for a reference config. +List of recommended kernel configs for `syzkaller`. See [syzbot config](/dashboard/config/linux/upstream-kasan.config) for a reference config. ## Syzkaller features diff --git a/docs/syzbot.md b/docs/syzbot.md index b947631cc..959d86394 100644 --- a/docs/syzbot.md +++ b/docs/syzbot.md @@ -361,7 +361,7 @@ branch when testing patches. ## Memory leaks `syzbot` uses `KMEMLEAK` to find memory leaks in the Linux kernel. -`KMEMLEAK` kernel config is stored [here](/dashboard/config/upstream-leak.config). +`KMEMLEAK` kernel config is stored [here](/dashboard/config/linux/upstream-leak.config). See `KMEMLEAK` [docs](https://www.kernel.org/doc/html/latest/dev-tools/kmemleak.html) for general info, algorithm overview and usage instructions. -- cgit mrf-deployment