summary refs log tree commit diff
path: root/ripple/minitrace/src/syscall_abi/mod.rs
AgeCommit message (Collapse)Author
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