]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/nolibc: add namespace functionality
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 28 Apr 2025 12:40:13 +0000 (14:40 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Wed, 21 May 2025 13:32:12 +0000 (15:32 +0200)
commit256dc7339d466f4d928be48ced6d590a99d447cc
tree64c2f3f6123eafc6ec5cbee580bd245c34a22e90
parent7ff3c71a4795f524b4dc643db4d00d4467be26a0
tools/nolibc: add namespace functionality

This is used in various selftests and will be handy when integrating
those with nolibc.

Not all configurations support namespaces, so skip the tests where
necessary.  Also if the tests are running without privileges.
Enable the namespace configuration for those architectures where it is not
enabled by default.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250428-nolibc-misc-v2-12-3c043eeab06c@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/Makefile
tools/include/nolibc/nolibc.h
tools/include/nolibc/sched.h [new file with mode: 0644]
tools/testing/selftests/nolibc/Makefile
tools/testing/selftests/nolibc/nolibc-test.c