From e462a4d9963a2949f0670a00a013dd362b5219d1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 30 May 2026 17:12:25 +0300 Subject: kexec_load: classify into Security family with its sibling kexec_load(2) and kexec_file_load are documented together on the same man page and both load a new kernel for later execution by reboot(2). kexec_file_load was already FamilySecurity, but kexec_load fell through to FamilyMisc. Move kexec_load to FamilySecurity so the siblings share a family. Kind classification was already correct: kexec_load takes raw user pointers (KindNull, no fd/path) while kexec_file_load takes fds (KindFd); the return value (long 0/-1, no byte count) stays UNCLASSIFIED. Update docs/syscall-tracing-plan.md to match, regenerate artifacts, and add lock-in tests for the family and UNCLASSIFIED return of both kexec syscalls plus reboot. Co-Authored-By: Claude Opus 4.8 --- internal/tracepoints/generated_tracepoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/tracepoints') diff --git a/internal/tracepoints/generated_tracepoints.go b/internal/tracepoints/generated_tracepoints.go index 38b1f4c..3a8d241 100644 --- a/internal/tracepoints/generated_tracepoints.go +++ b/internal/tracepoints/generated_tracepoints.go @@ -870,7 +870,7 @@ var syscallFamilies = map[string]string{ "ioprio_set": "Process", "kcmp": "Process", "kexec_file_load": "Security", - "kexec_load": "Misc", + "kexec_load": "Security", "keyctl": "Security", "kill": "Signals", "landlock_add_rule": "Security", -- cgit v1.2.3