BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next] tools/include: Add Linux-syscall-note to uapi/linux/types.h
@ 2026-10-14 19:45 Marco Vedovati
  2026-10-15  8:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Vedovati @ 2026-10-14 19:45 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Yonghong Song, Greg Kroah-Hartman, Thomas Weißschuh,
	linux-spdx, linux-kernel, linux-open-source, Marco Vedovati

tools/include/uapi/linux/types.h is the only header under
tools/include/uapi/linux/ whose SPDX identifier lacks the
Linux-syscall-note exception.

The file was originally added as
tools/testing/selftests/bpf/include/uapi/linux/types.h by
commit 0a5539f66133 ("bpf: Provide a linux/types.h override for bpf
selftests.") without any license header. Then
commit 579f1d926c66 ("selftests/bpf: fix broken build due to types.h")
added type definitions copied from include/uapi/linux/types.h, which
is licensed under GPL-2.0 WITH Linux-syscall-note.

Commit b24413180f56 ("License cleanup: add SPDX GPL-2.0 license
identifier to files with no license") tagged it GPL-2.0, along with
other headers under tools/include/uapi/. Those other headers were
switched to GPL-2.0 WITH Linux-syscall-note shortly after by
commit fb7df12d645c ("tools/headers: Synchronize kernel ABI headers"),
when they were synchronized with their kernel counterparts. This file
is only a partial copy of include/uapi/linux/types.h, not kept in sync
with it, so it kept the GPL-2.0 identifier, also after
commit bcd66b10b5e9 ("tools/bpf: Move linux/types.h for selftests and
bpftool") moved it to its current location.

Use the same identifier as include/uapi/linux/types.h.

Signed-off-by: Marco Vedovati <marco.vedovati@crowdstrike.com>
---
 tools/include/uapi/linux/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/include/uapi/linux/types.h b/tools/include/uapi/linux/types.h
index 85aa327245c6..6acf2059085a 100644
--- a/tools/include/uapi/linux/types.h
+++ b/tools/include/uapi/linux/types.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 #ifndef _UAPI_LINUX_TYPES_H
 #define _UAPI_LINUX_TYPES_H
 
-- 
2.55.0


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

* Re: [PATCH bpf-next] tools/include: Add Linux-syscall-note to uapi/linux/types.h
  2026-10-14 19:45 [PATCH bpf-next] tools/include: Add Linux-syscall-note to uapi/linux/types.h Marco Vedovati
@ 2026-10-15  8:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-10-15  8:00 UTC (permalink / raw)
  To: Marco Vedovati
  Cc: bpf, ast, daniel, andrii, yonghong.song, gregkh,
	thomas.weissschuh, linux-spdx, linux-kernel, linux-open-source

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Wed, 14 Oct 2026 21:45:16 +0200 you wrote:
> tools/include/uapi/linux/types.h is the only header under
> tools/include/uapi/linux/ whose SPDX identifier lacks the
> Linux-syscall-note exception.
> 
> The file was originally added as
> tools/testing/selftests/bpf/include/uapi/linux/types.h by
> commit 0a5539f66133 ("bpf: Provide a linux/types.h override for bpf
> selftests.") without any license header. Then
> commit 579f1d926c66 ("selftests/bpf: fix broken build due to types.h")
> added type definitions copied from include/uapi/linux/types.h, which
> is licensed under GPL-2.0 WITH Linux-syscall-note.
> 
> [...]

Here is the summary with links:
  - [bpf-next] tools/include: Add Linux-syscall-note to uapi/linux/types.h
    https://git.kernel.org/bpf/bpf-next/c/f5bffe9f098f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2026-10-15  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 19:45 [PATCH bpf-next] tools/include: Add Linux-syscall-note to uapi/linux/types.h Marco Vedovati
2026-10-15  8:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox