Fix some typos in the psx.c code related to 6 argument syscalls.

  https://bugzilla.kernel.org/show_bug.cgi?id=210613

Essentially, 6 argument psx_syscall()s were not correctly implemented
before. The only consumer of these in [lib]cap were to set and reset
the ambient capability values, and so far I evidently hadn't tested
them in a multithreaded program.

Six argument psx_syscall()s work now, and I've adapted the reproducer
code into a new make sudotest.

Also cleaned up the psx_syscall() macro to remove any ambiguity about
argument sizes.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
5 files changed