summary refs log tree commit diff
path: root/ripple/minitrace/src/syscall_abi/mod.rs
AgeCommit message (Collapse)Author
2022-07-31ripple/minitrace/syscall_abi/device: initedef
dev_t, but non-nullable and with a proper Rust API. Change-Id: I3d968b25f59b6e1a35c88f94bd0f135873b6dc2b
2022-07-30ripple/minitrace/syscall_abi: represent prlimit64 pid with a unit structedef
We don't accept nonzero values here, so we should simply reject those early. Change-Id: I329ae76b1f44f6d3305e710ed8f5f90ee0df988f
2022-07-30ripple/minitrace/syscall_abi: represent RobustListHeadSize with a unit structedef
Change-Id: I709870b36d5b2329be53389af6c816aaeadfdd7b
2022-07-30ripple/minitrace/syscall_abi: represent SigSetSize with a unit structedef
This way we validate the sigsetsize early, and leave the invalid state unrepresentable. Change-Id: I237942089b4eb7fff06ada7ea8be7b8f94b2fcfd
2022-07-30ripple/minitrace/syscall_abi: initedef
Factor out the rather sprawling syscall ABI definitions from the main program. The macros, argument parsing, and file descriptor code get some space to breathe too. Change-Id: I0aa01b6b94e4d4b770bb9ef59926e2236c50b258