I just was thinking about a potential syscall with a prototype:
int syscalls(void *array, size_t size)
Where the array argument has packed syscall number, place for return value and arguments for every syscall.
Then I found that it’s patented by Red Hat…