diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 17:20:30 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 17:20:30 +0300 |
| commit | cf0fc43651cb6bbf71d8f18a530c177dc7f717dd (patch) | |
| tree | 12f30c90aaf2e571bd4911b1a493ec49c8ef260c /internal/generate/testdata.go | |
| parent | 8b64d566300b7e952da63e11cba7575d7b06e7e2 (diff) | |
test(generate): lock in pwrite64 WRITE_CLASSIFIED audit
Add TestClassifyPwrite64WriteByteCount pinning the pwrite64(2) audit:
fd at args[0] (KindFd), FS family, and WRITE_CLASSIFIED return (the
syscall returns the number of bytes written). Asserts pread64 stays
READ_CLASSIFIED as the read-side positional contrast, guards against
transfer/unclassified misclassification, and checks the write/pread
sibling group so a stray reclassification trips the test.
No implementation changes: classify.go, family.go, generated C/Go, and
docs/syscall-tracing-plan.md were already consistent and correct.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/generate/testdata.go')
0 files changed, 0 insertions, 0 deletions
