summaryrefslogtreecommitdiff
path: root/internal/runtime_builder.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 22:05:46 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 22:05:46 +0300
commit8cc96b7425dfe825461fd5d6c52356e1ddfe4952 (patch)
treef613d5c50b8d1c2317d173a1036df0f6de96bb0d /internal/runtime_builder.go
parentf12c93dbf6ac839b25c1863aaa37d3d8be6d7a23 (diff)
test(generate): lock in rt_tgsigqueueinfo KindNull/Signals audit
Audit of rt_tgsigqueueinfo(2): int rt_tgsigqueueinfo(pid_t tgid, pid_t tid, int sig, siginfo_t *info) queues a signal plus data to a thread in a thread group. Args are pids (tgid/tid), a signal number, and a userspace siginfo_t pointer -- no fds or filesystem paths. The existing classification (KindNull, FamilySignals, ret UNCLASSIFIED) and the generated null_event enter handler (captures no args) are correct, and docs/syscall-tracing-plan.md plus the drift tests are in sync. Add dedicated lock-in tests, modeled on the rt_sigpending audit, that assert the generated handler emits a null_event capturing none of the args (so tgid/tid are never misclassified as fds) and that the int 0/-1 return stays UNCLASSIFIED rather than a byte-count transfer. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime_builder.go')
0 files changed, 0 insertions, 0 deletions