diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 17:07:39 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 17:07:39 +0300 |
| commit | 07927004d6403dc88a8c24b2751d845ec1765376 (patch) | |
| tree | 2924ed25ee357f3d7ace955454e7edf5441f8dc3 /docs/tutorial/scripts/workload.sh | |
| parent | 231938bc6a768953cca1d0b77298f9199fb8bc61 (diff) | |
test(generate): lock in io_uring_register classification audit
Audit of io_uring_register(2) confirmed the existing tracing is correct:
KindFd with the io_uring fd captured at args[0], FamilyAIO (matching
io_uring_setup/io_uring_enter), and an UNCLASSIFIED ret_event exit. The
sys_enter_io_ KindNull prefix rule does NOT mis-catch it because
classifyNameOnly consults the exact nameOnlyKindsTable (KindFd) before the
prefix list.
Add two lock-in tests to guard these invariants:
- TestIoUringRegisterTablePrecedenceOverIoPrefix: the explicit KindFd table
entry wins over the sys_enter_io_ KindNull prefix rule (with an io_submit
sanity check that the prefix rule still yields KindNull for fd-less AIO
siblings).
- TestIoUringRegisterReturnUnclassified: the exit returns 0/small-positive,
never a byte count, so the io_uring group stays out of retClassifications.
No code, docs, or generated artifacts changed; mage generate produces no diff.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs/tutorial/scripts/workload.sh')
0 files changed, 0 insertions, 0 deletions
