[PATCH v2 0/2] tools/nolibc: avoid coredumps and speed up tests

From: Thomas Weißschuh
Date: Fri May 26 2023 - 03:51:28 EST

Small optimization to avoid coredump writing during the stack protector
Adds prctl() as prerequisite.

This series is based on nolibc/20230524-nolibc-rv32+stkp4

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Changes in v2:
- Fix compilation warning in prctl() testcase
- Link to v1: https://lore.kernel.org/r/20230526-nolibc-test-no-dump-v1-0-62e724a96db2@xxxxxxxxxxxxxx

Thomas Weißschuh (2):
tools/nolibc: add support for prctl()
selftests/nolibc: prevent coredumps during test execution

tools/include/nolibc/sys.h | 27 +++++++++++++++++++++++++++
tools/testing/selftests/nolibc/nolibc-test.c | 3 +++
2 files changed, 30 insertions(+)
base-commit: 1974a2b5fd434812b32952b09df7b79fdee8104d
change-id: 20230526-nolibc-test-no-dump-a1b1d9557df8

Best regards,
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>