Commit Graph

8 Commits

Author SHA1 Message Date
b843b8f343 Core: Default to a GPL license, with a warning, when none is defined
Without a LICENSE, @llvm.compiler.used still named one, and opt stopped on
"use of undefined value @LICENSE". A program with no LICENSE now gets "GPL",
the kernel's own license, and a warning that says so; an explicit LICENSE
is emitted as written.

The old failing license test becomes passing_tests/license_default.py: it
calls print, which lowers to the GPL-only bpf_trace_printk, so the verifier
accepts it only if the default reaches the kernel. license_non_gpl.py is
the counterpart, a verifier-level negative fixture pinned to the kernel's
GPL rejection, and test_license_ir.py checks both license sections and the
warning.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-09 03:01:11 +05:30
ec4a6852ec PythonBPF: Add Compilation Context to allow parallel compilation of multiple bpf programs 2026-02-21 18:59:33 +05:30
469ca43eaa replace prints with logger.info 2025-10-02 17:46:27 +05:30
8d5067996f format chore and pre commit hook addition 2025-10-01 00:41:00 +05:30
5adc6d75e9 janitorial 2025-09-09 00:26:06 +05:30
03404bb164 make license handling easier 2025-09-09 00:19:53 +05:30
a8e7a42b72 WIP functions processing 2025-08-31 05:12:47 +05:30
b4a2f169ad emit license 2025-08-30 22:33:58 +05:30