summaryrefslogtreecommitdiff
path: root/internal/tracepoints
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-30 17:12:25 +0300
committerPaul Buetow <paul@buetow.org>2026-05-30 17:12:25 +0300
commite462a4d9963a2949f0670a00a013dd362b5219d1 (patch)
treec867fda30f98a31bc507f0a25c35e373243b7068 /internal/tracepoints
parent07927004d6403dc88a8c24b2751d845ec1765376 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/tracepoints')
-rw-r--r--internal/tracepoints/generated_tracepoints.go2
1 files changed, 1 insertions, 1 deletions
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",