diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-29 23:00:28 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-29 23:00:28 +0300 |
| commit | ff63b2c2fc99c9f4a2bb99248bd53d09df91712a (patch) | |
| tree | 94e3d7b9fa1281360aad5609844ffcec5255d029 /internal/eventloop_runtime.go | |
| parent | 3cd431e7aac28fa7bacc37a7e751a9082287251d (diff) | |
test(generate): lock in setuid classification audit
Audit of setuid(2) confirmed correct tracing classification:
- KindNull (single uid_t arg, never an fd or path)
- FamilyProcess (credential-setting, consistent with siblings)
- Unclassified exit ret (int 0/-1 status, not a byte count)
Add lock-in tests asserting the setuid enter (KindNull, no pathname
capture) and exit (KindRet, UNCLASSIFIED) classification, plus a
family assertion covering the credential-setting cluster
(setuid/setresuid/setreuid/setfsuid, the gid analogues, and the
getuid/geteuid/... readers).
Discovered out of scope: family.go omits seteuid/setegid from the
FamilyProcess list (they fall through to Misc), unlike their siblings.
These have no dedicated kernel tracepoints today, so it is latent;
tracked as follow-up task 620.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/eventloop_runtime.go')
0 files changed, 0 insertions, 0 deletions
