diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-19 11:26:47 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-19 11:26:47 +0200 |
| commit | 171857be12ec2b9d4ed08719272000e3b91893bc (patch) | |
| tree | a017f7eb8e497268086b31fed793e724a31243cf /AGENTS.md | |
| parent | 03eb76f8d8f8402ebc203b4c817be8577f69b674 (diff) | |
fix: cover legacy compat syscalls
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -246,3 +246,17 @@ attempts to exercise these operations: If the generated replay only contains the header and `#INIT`, or the replay paths escape the intended test tree, investigate capture tokenization and dirfd-relative path handling first. + +## Legacy Compat Syscalls + +The normal helper above exercises the current x86_64 syscall surface. For +legacy compat names that only show up through the 32-bit ABI on this host, +use [scripts/syscall_compat32.c](/home/paul/git/ioriot/scripts/syscall_compat32.c) +and compile it with `cc -m32`. + +- It reuses the same `PID_FILE GO_FILE BASE_DIR USER` contract as the main + matrix helper, so the capture/generate/init/replay procedure above applies + unchanged. +- It covers `readdir`, `llseek`, `statfs64`, `fstatfs64`, `chown16`, + `lchown16`, and `fchown16`. +- Run it with a user whose uid/gid fit into the legacy 16-bit chown ABI. |
