summaryrefslogtreecommitdiff
path: root/internal/eventloop_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 11:37:38 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 11:37:38 +0300
commit0e835414ad424e2061f5c0203e4ba797dd5a9281 (patch)
tree0a740bac2120c0e644ce79ba004ebb724ea773cd /internal/eventloop_test.go
parentc78920d55d58ff54ab4a6adbd425072963b7e8f9 (diff)
test(generate): lock in setdomainname KindNull classification
Audit of setdomainname(2): its first arg is a const char *name, but that name is the NIS/YP domain-name string, not a filesystem path. The name-only classification table pins it to KindNull, which short-circuits before the field-based path heuristic that would otherwise treat a const char *name arg as KindPathname. Classification, family (Misc), docs, and existing tests all already matched; this adds a dedicated lock-in test asserting KindNull, an empty PathnameField, and kind+family parity with the sibling sethostname. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/eventloop_test.go')
0 files changed, 0 insertions, 0 deletions