diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 16:53:10 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 16:53:10 +0300 |
| commit | 2e018ccde462cd9083cfaf9e74c50cec19518815 (patch) | |
| tree | 4c0f0cc8a7664a63a7159c78a15161d294e71f77 /internal/flags | |
| parent | 7f0ef4c1b2a2fa7945d70cf2f76475e25a766abd (diff) | |
test(kill): lock in KindNull enter and UNCLASSIFIED ret
Audit of kill(2) (pid_t pid, int sig): the pid at args[0] is a process/
process-group identifier and sig a signal number, neither an fd nor a
path, so the enter tracepoint is KindNull and the int 0/-1 return is a
status code (UNCLASSIFIED), not a transferred byte count. Classification
and docs (Signals/null) already matched and need no change.
Add TestClassifyExitKillUnclassifiedRet (the return-value lock-in its
signal siblings tkill/tgkill/rt_sigqueueinfo already have) and harden
TestClassifyKillExplicitNull to assert no PathnameField is captured,
documenting the deliberate contrast with pidfd_send_signal (KindFd/IPC,
args[0] is a real pidfd).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/flags')
0 files changed, 0 insertions, 0 deletions
