Skip to content

signal handling support for nolibc

Benjamin Berg linux-kselftest 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v24 patches 8 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests/nolibc: fix EXPECT_NZ macrotools/testing/selftests/nolibc/nolibc-test.c+2 -20 replies
2/4selftests/nolibc: remove outdated comment about construct ordertools/testing/selftests/nolibc/nolibc-test.c+0 -10 replies
3/4tools/nolibc: add more generic bitmask macros for FD_*tools/include/nolibc/types.h+40 -320 replies
4/4tools/nolibc: add signal supporttools/include/nolibc/Makefile tools/include/nolibc/arch-s390.h tools/include/nolibc/asm-signal.h +6 more+566 -34 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] signal handling support for nolibc

From: Benjamin Berg <[email protected]>

Hi,

This patchset adds signal handling to nolibc. Initially, I would like to use this for tests. But in the long run, the goal is to use nolibc for the UML kernel itself. In both cases, signal handling will be needed.

With v3 everything is now included in nolibc instead of trying to use the messy kernel headers.

Benjamin

Benjamin Berg (4):
selftests/nolibc: fix EXPECT_NZ macro selftests/nolibc: remove outdated comment about construct order tools/nolibc: add more generic bitmask macros for FD_* tools/nolibc: add signal support

 tools/include/nolibc/Makefile                |   1 +
 tools/include/nolibc/arch-s390.h             |   4 +-
 tools/include/nolibc/asm-signal.h            | 237 +++++++++++++++++++
 tools/include/nolibc/signal.h                | 179 ++++++++++++++
 tools/include/nolibc/sys.h                   |   2 +-
 tools/include/nolibc/sys/wait.h              |   1 +
 tools/include/nolibc/time.h                  |   2 +-
 tools/include/nolibc/types.h                 |  81 ++++---
 tools/testing/selftests/nolibc/nolibc-test.c | 139 ++++++++++-
 9 files changed, 608 insertions(+), 38 deletions(-)
 create mode 100644 tools/include/nolibc/asm-signal.h
Signature · 1 line
2.50.1