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

Thomas Weißschuh posted 2 patches 2 days, 11 hours ago
tools/include/nolibc/sys.h                   | 27 +++++++++++++++++++++++++++
tools/testing/selftests/nolibc/nolibc-test.c |  3 +++
2 files changed, 30 insertions(+)
[PATCH v2 0/2] tools/nolibc: avoid coredumps and speed up tests
Posted by Thomas Weißschuh 2 days, 11 hours ago
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 <linux@weissschuh.net>
---
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@weissschuh.net

---
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@weissschuh.net>

Re: [PATCH v2 0/2] tools/nolibc: avoid coredumps and speed up tests
Posted by Willy Tarreau 12 hours ago
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 <linux@weissschuh.net>
> ---
> 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@weissschuh.net

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

thanks,
Willy