mbox series

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

Message ID 20230526-nolibc-test-no-dump-v2-0-a66500bf73fc@weissschuh.net (mailing list archive)
Headers show
Series tools/nolibc: avoid coredumps and speed up tests | expand

Message

Thomas Weißschuh May 26, 2023, 7:51 a.m. UTC
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,

Comments

Willy Tarreau May 28, 2023, 7:38 a.m. UTC | #1
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