Skip to content

tools/nolibc: -Wwrite-strings compatibility

Thomas Weißschuh lkml 2 versions – New

Get series with b4
b4 am [email protected] change-id 20260401-nolibc-write-strings-d7b2073917ff

Versions newest first

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Avoid cast in selftest
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/nolibc: cast default values of program_invocation_nametools/include/nolibc/errno.h+2 -20 replies
2/3selftests/nolibc: use mutable buffer for execve() argv stringtools/testing/selftests/nolibc/nolibc-test.c+1 -10 replies
3/3selftests/nolibc: test against -Wwrite-stringstools/testing/selftests/nolibc/Makefile.include+1 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchWilly Tarreau
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] tools/nolibc: -Wwrite-strings compatibility

Make sure not to trigger -Wwrite-strings warnings.

---
Changes in v2:
- Avoid cast in selftest
- Link to v1: https://patch.msgid.link/[email protected]

---
Thomas Weißschuh (3):
tools/nolibc: cast default values of program_invocation_name selftests/nolibc: use mutable buffer for execve() argv string selftests/nolibc: test against -Wwrite-strings

 tools/include/nolibc/errno.h                    | 4 ++--
 tools/testing/selftests/nolibc/Makefile.include | 2 +-
 tools/testing/selftests/nolibc/nolibc-test.c    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

---
base-commit: 835fa43a4d36bd66ad0dd052f9fa15f7bd365fa8
change-id: 20260401-nolibc-write-strings-d7b2073917ff

Best regards,

Signature · 1 line
Thomas Weißschuh <[email protected]>