linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] signal handling support for nolibc
@ 2025-07-31 20:12 Benjamin Berg
  2025-07-31 20:12 ` [PATCH v3 1/4] selftests/nolibc: fix EXPECT_NZ macro Benjamin Berg
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Benjamin Berg @ 2025-07-31 20:12 UTC (permalink / raw)
  To: Willy Tarreau, Thomas Weißschuh, linux-kselftest; +Cc: Benjamin Berg

From: Benjamin Berg <benjamin.berg@intel.com>

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-08-02 12:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 20:12 [PATCH v3 0/4] signal handling support for nolibc Benjamin Berg
2025-07-31 20:12 ` [PATCH v3 1/4] selftests/nolibc: fix EXPECT_NZ macro Benjamin Berg
2025-07-31 20:12 ` [PATCH v3 2/4] selftests/nolibc: remove outdated comment about construct order Benjamin Berg
2025-07-31 20:12 ` [PATCH v3 3/4] tools/nolibc: add more generic bitmask macros for FD_* Benjamin Berg
2025-07-31 20:12 ` [PATCH v3 4/4] tools/nolibc: add signal support Benjamin Berg
2025-08-01 15:09   ` Thomas Weißschuh
2025-08-02 10:26     ` Berg, Benjamin
2025-08-02 11:26       ` Thomas Weißschuh
2025-08-02 12:43         ` Berg, Benjamin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).