aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-01-31 13:49:04 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-02-03 10:08:41 +0000
commita21a8419b67b5ef8ebc3d6dd834d065e6860c41f (patch)
tree36472d970ed7539b0ccb71e9d9b1ce3f1c45541c /tools/docker
parent568559e4e604140cecd9fc4835eaa0298a1cadcc (diff)
tools/docker: add libdw-dev to the syzbot container
Linux-next now offers a choice between using `CONFIG_GENDWARFKSYMS` and `CONFIG_GENKSYMS`. See: Docs: https://www.kernel.org/doc/html/next/kbuild/gendwarfksyms.html Series: https://patchwork.kernel.org/project/linux-kbuild/list/?series=922143 We could either enforce CONFIG_GENKSYMS=y and keep things as they used to be or we could add a libdw-dev dependency to the container and be more flexible. CONFIG_GENDWARFKSYMS offers a slight advantage in that it will be better if/when we start fuzzing Rust code in the kernel.
Diffstat (limited to 'tools/docker')
-rw-r--r--tools/docker/syzbot/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile
index 717cbaa61..6bf331a66 100644
--- a/tools/docker/syzbot/Dockerfile
+++ b/tools/docker/syzbot/Dockerfile
@@ -22,7 +22,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q \
util-linux dosfstools ocfs2-tools reiserfsprogs xfsprogs erofs-utils \
exfatprogs gfs2-utils \
# Needed for buiding gVisor.
- crossbuild-essential-amd64 crossbuild-essential-arm64 libbpf-dev
+ crossbuild-essential-amd64 crossbuild-essential-arm64 libbpf-dev \
+ # Needed for CONFIG_GENDWARFKSYMS.
+ libdw-dev
RUN test "$(uname -m)" != x86_64 && exit 0 || \
DEBIAN_FRONTEND=noninteractive apt-get install -y -q \
libc6-dev-i386 libc6-dev-i386-amd64-cross lib32gcc-12-dev lib32stdc++-12-dev \