]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: uapi: validate that headers do not use libc
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 23 Dec 2025 07:04:08 +0000 (08:04 +0100)
committerNathan Chancellor <nathan@kernel.org>
Tue, 6 Jan 2026 22:07:32 +0000 (15:07 -0700)
commit6059b880a93c38a90d178b49fa80403c76d1a89f
tree9e81c187e0bd491173d7729f21166bdd3e330545
parent76df6815dab76d7890936dc5f6d91cf7e7f88358
kbuild: uapi: validate that headers do not use libc

The UAPI headers should be self-contained. That means they should not
use other headers from libc. Currently this is not enforced and various
dependencies have crept in.

Add a check to make sure no new ones are added.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20251223-uapi-nostdinc-v1-1-d91545d794f7@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
usr/include/Makefile