This dir contains kernel configs used by syzbot.
To update the main linux config upstream-kasan.config used by syzbot
:
- Check out latest
linux-next
(we tend to uselinux-next
as it contains the most latest features in a single tree). - Copy the config into kernel tree as
.config
. - Run
make olddefconfig
. - Make any additional changes to the config you want to do (e.g. enable/disable some configs with
make menuconfig
). - Build and boot the kernel. Ensure there are no bugs during boot (in particular,
WARNING
's andLOCKDEP
reports). - Copy back the custom configs into the
.config
(see comments there). - For compiler you need to use a recent gcc (8+). Some of the debugging configs may be disabled due to old/different compiler, in particular
CONFIG_KCOV_ENABLE_COMPARISONS
. You may also restore the compiler info part just to reduce the diff size. - Copy the config back as
upstream-kasan.config
and send a PR. It will be deployed tosyzbot
within a day after merging.