From efe369005dcf7d53e154d965b8e59de0fb617921 Mon Sep 17 00:00:00 2001 From: Lourival Vieira Neto Date: Thu, 26 Nov 2026 10:21:04 -0300 Subject: [PATCH] luaebpf: name kernel scripts older than the compiler The compiler reads constants from the kernel scripts, and a tree an older Lunatik installed, or one --scripts names, that lacks a table or an entry it reads stopped a compile at a line of the compiler: an index error at emit/init.lua:280 for a linux/bpf.lua without max, and a string.pack error at insn.lua:315 for one without func.map_lookup_elem, or at btf.lua:136 for one without map_type.PERCPU_ARRAY. luaebpf.proto.script now hands back the script's table with each table it holds raising at a read of a name it does not carry: