linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] signal handling support for nolibc
@ 2025-07-10 10:39 Benjamin Berg
  2025-07-10 10:39 ` [PATCH v2 1/4] selftests/nolibc: fix EXPECT_NZ macro Benjamin Berg
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Benjamin Berg @ 2025-07-10 10:39 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.

v2 contains some bugfixes and has a better test coverage. Also addressed
are various review comments.

Benjamin

Benjamin Berg (4):
  selftests/nolibc: fix EXPECT_NZ macro
  selftests/nolibc: validate order of constructor calls
  tools/nolibc: add more generic bitmask macros for FD_*
  tools/nolibc: add signal support

 tools/include/nolibc/arch-arm.h               |   7 +
 tools/include/nolibc/arch-arm64.h             |   3 +
 tools/include/nolibc/arch-loongarch.h         |   3 +
 tools/include/nolibc/arch-m68k.h              |  10 ++
 tools/include/nolibc/arch-mips.h              |   3 +
 tools/include/nolibc/arch-powerpc.h           |   8 +
 tools/include/nolibc/arch-riscv.h             |   3 +
 tools/include/nolibc/arch-s390.h              |   8 +-
 tools/include/nolibc/arch-sh.h                |   5 +
 tools/include/nolibc/arch-sparc.h             |  47 ++++++
 tools/include/nolibc/arch-x86.h               |  13 ++
 tools/include/nolibc/signal.h                 | 103 ++++++++++++
 tools/include/nolibc/sys.h                    |   2 +-
 tools/include/nolibc/time.h                   |   3 +-
 tools/include/nolibc/types.h                  |  81 ++++++----
 .../selftests/nolibc/nolibc-test-linkage.c    |  17 +-
 tools/testing/selftests/nolibc/nolibc-test.c  | 150 +++++++++++++++++-
 17 files changed, 422 insertions(+), 44 deletions(-)

-- 
2.50.0


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

end of thread, other threads:[~2025-07-14 13:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10 10:39 [PATCH v2 0/4] signal handling support for nolibc Benjamin Berg
2025-07-10 10:39 ` [PATCH v2 1/4] selftests/nolibc: fix EXPECT_NZ macro Benjamin Berg
2025-07-11  4:46   ` Thomas Weißschuh
2025-07-10 10:39 ` [PATCH v2 2/4] selftests/nolibc: validate order of constructor calls Benjamin Berg
2025-07-11  4:50   ` Thomas Weißschuh
2025-07-10 10:39 ` [PATCH v2 3/4] tools/nolibc: add more generic bitmask macros for FD_* Benjamin Berg
2025-07-10 10:39 ` [PATCH v2 4/4] tools/nolibc: add signal support Benjamin Berg
2025-07-11  5:40   ` Thomas Weißschuh
2025-07-11  7:25     ` Benjamin Berg
2025-07-13 15:02       ` Thomas Weißschuh
2025-07-13 15:50         ` Willy Tarreau
2025-07-14 12:52           ` Benjamin Berg
2025-07-14 13:33             ` Thomas Weißschuh

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).