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

-- 
2.50.1


Reply via email to