linux/tools/include/nolibc/sys
Thomas Weißschuh f3ed932644 selftests/nolibc: add static assertions around time types handling
The nolibc system call wrappers expect the libc types to be compatible
to the kernel types.

Make sure these expectations hold at compile-time.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251220-nolibc-uapi-types-v3-14-c662992f75d7@weissschuh.net
2026-01-06 12:08:08 +01:00
..
auxv.h tools/nolibc: add option to disable runtime 2025-10-29 16:29:16 +01:00
ioctl.h tools/nolibc: move ioctl() to sys/ioctl.h 2025-05-21 15:32:16 +02:00
mman.h tools/nolibc: remove outdated comment about __sysret() in mmap() 2025-10-29 16:29:12 +01:00
mount.h tools/nolibc: move mount() to sys/mount.h 2025-05-21 15:32:18 +02:00
prctl.h tools/nolibc: move prctl() to sys/prctl.h 2025-05-21 15:32:19 +02:00
ptrace.h tools/nolibc: add ptrace support 2026-01-04 10:28:44 +01:00
random.h tools/nolibc: use tabs instead of spaces for indentation 2025-09-01 20:47:50 +02:00
reboot.h tools/nolibc: avoid using plain integer as NULL pointer 2025-11-09 21:29:57 +01:00
resource.h tools/nolibc: move getrlimit() and friends to sys/resource.h 2025-05-21 15:32:21 +02:00
select.h tools/nolibc/select: avoid libgcc 64-bit multiplications 2026-01-04 10:29:02 +01:00
stat.h tools/nolibc: add more stat() variants 2025-05-21 15:32:02 +02:00
syscall.h tools/nolibc: include nolibc.h early from all header files 2025-05-21 15:31:50 +02:00
sysmacros.h tools/nolibc: move makedev() and friends to sys/sysmacros.h 2025-05-21 15:32:23 +02:00
time.h tools/nolibc/gettimeofday: avoid libgcc 64-bit divisions 2026-01-04 10:29:01 +01:00
timerfd.h selftests/nolibc: add static assertions around time types handling 2026-01-06 12:08:08 +01:00
types.h tools/nolibc: add sys/types.h shim 2025-04-19 14:22:29 +02:00
uio.h tools/nolibc: add uio.h with readv and writev 2025-10-29 16:29:19 +01:00
utsname.h tools/nolibc: move uname() and friends to sys/utsname.h 2025-05-21 15:32:24 +02:00
wait.h tools/nolibc: handle NULL wstatus argument to waitpid() 2025-10-12 22:48:07 +02:00