diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-29 17:01:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-29 17:01:57 +0300 |
| commit | fd8632e70dd2ec7dc6b0b03f469e3281114d5048 (patch) | |
| tree | ce2ea0f701e3f8bb2f93923a211044c0a7c64506 /internal/generate/classify_test.go | |
| parent | d526d0a5f482a3b12675bd281683c58b23d9093c (diff) | |
test(generate): lock in set_mempolicy_home_node classification
Audit of the set_mempolicy_home_node(2) NUMA syscall (task mz) confirmed
it is correctly classified: KindNull (name-only, ior does not capture the
addr/len range), FamilyMemory (matching its siblings set_mempolicy, mbind,
migrate_pages, move_pages and docs/syscall-tracing-plan.md), and an
Unclassified return (0/-1 with no byte count).
Add lock-in tests so the classification cannot silently drift:
- family_test.go asserts FamilyMemory for set_mempolicy_home_node and its
NUMA siblings, with a note that get_mempolicy is the lone sibling still
on FamilySecurity (tracked separately, out of scope here).
- retclassify_test.go asserts the exit stays UNCLASSIFIED.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/generate/classify_test.go')
0 files changed, 0 insertions, 0 deletions
