2023-05-26 08:13:47

by Thomas Weißschuh

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

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

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

Signed-off-by: Thomas Weißschuh <[email protected]>
---
Changes in v2:
- Fix compilation warning in prctl() testcase
- Link to v1: https://lore.kernel.org/r/[email protected]

---
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 <[email protected]>



2023-05-28 07:43:01

by Willy Tarreau

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

On Fri, May 26, 2023 at 09:51:18AM +0200, Thomas Wei?schuh wrote:
> Small optimization to avoid coredump writing during the stack protector
> tests.
> Adds prctl() as prerequisite.
>
> This series is based on nolibc/20230524-nolibc-rv32+stkp4
>
> Signed-off-by: Thomas Wei?schuh <[email protected]>
> ---
> Changes in v2:
> - Fix compilation warning in prctl() testcase
> - Link to v1: https://lore.kernel.org/r/[email protected]

I just noticed the warning as well when testing the whole branch, applied
this one instead.

thanks,
Willy