selftests/coredump: add coredump server selftests

This adds extensive tests for the coredump server.

Link: https://lore.kernel.org/20250603-work-coredump-socket-protocol-v2-5-05a5f0c18ecc@kernel.org
Acked-by: Lennart Poettering <lennart@poettering.net>
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2025-06-03 15:31:59 +02:00
parent be227ba821
commit 59cd658eaf
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
3 changed files with 1258 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
CFLAGS = -Wall -O0 $(KHDR_INCLUDES)
CFLAGS += -Wall -O0 -g $(KHDR_INCLUDES) $(TOOLS_INCLUDES)
TEST_GEN_PROGS := stackdump_test
TEST_FILES := stackdump

View file

@ -0,0 +1,3 @@
CONFIG_COREDUMP=y
CONFIG_NET=y
CONFIG_UNIX=y

File diff suppressed because it is too large Load diff