HomeFreeBSD

truss: split counting of syscalls and syscall calling convention

Description

truss: split counting of syscalls and syscall calling convention

This change is a refactoring cleanup to improve support for compat32
syscalls (and compat64 on CHERI systems). Each process ABI now has it's
own struct sycall instead of using one global list. The list of all
syscalls is replaced with a list of seen syscalls. Looking up the syscall
argument passing convention now interates over the fixed-size array instead
of using a link-list that's populated on startup so we no longer need the
init_syscall() function.
The actual functional changes are in D27625.

Reviewed By: jhb
Differential Revision: https://reviews.freebsd.org/D27636

(cherry picked from commit 6019514b0b53c3fc151868b88357405b6d67f308)

Details

Provenance
arichardsonAuthored on Mar 4 2021, 6:28 PM
Reviewer
jhb
Differential Revision
D27636: truss: split counting of syscalls and syscall calling convention
Parents
rG3bcaad593004: nfscl: fix the handling of NFSERR_DELAY for Open/LayoutGet RPCs
Branches
Unknown
Tags
Unknown