7bd79565 brooks Nov. 17, 2021, 8:12 p.m.
These syscalls require no translation.  They were simply missing
from compat/freebsd32/syscalls.master.

Reviewed by:	kevans
cgit
91301e6e brooks Nov. 17, 2021, 8:12 p.m.
Previously we fell back to sys_kldsym, but because we'd always
mismatch on the version field we'd return EINVAL.  A freebsd32
implementation is impossible with the current ABI as there simply
isn't space to store a kernel virtual address in a uint32_t.

Reviewed by:	kevans
cgit
25fec55b brooks Nov. 17, 2021, 8:12 p.m.
It's exactly the same as freebsd11_getdents.

Reviewed by:	kevans
cgit
1de34945 brooks Nov. 17, 2021, 8:12 p.m.
ofreebsd32_sigprocmask, ofreebsd32_sigblock, ofreebsd32_sigsetmask,
and ofreebsd32_sigsuspend were all duplicates of the default ABI
versions and there are no type concerns as all arguments are the
same.

Reviewed by:	kevans
cgit
dbb47e92 brooks Nov. 17, 2021, 8:12 p.m.
The freebsd32_recvfrom() serves no purpose as no arguments require
translation.  The prototype was mis-declared and the implementation
contained (relatively harmless) errors.

Reviewed by:	kevans
cgit
ad582667 brooks Nov. 17, 2021, 8:12 p.m.
pipe requires no special handling.

ofreebsd32_sigpending did differ from osigpending in that it acted
on the siglist rather than the sigqueue, but this appears to be an
oversight in 3fbdb3c21524d9d95278ada1d61b4d1e6bee654b.

ogetpagesize could theoretically have ABI-dependent results, but in
practice does not. If it does it would be easy handle in the central
implementation and be the least of the problems in changing the value of
PAGE_SIZE.

Reviewed by:	kevans
cgit
5b5a48c7 brooks Nov. 17, 2021, 8:12 p.m.
Assume we've been passed a valid argument and use _IOC_NEWTYPE to
translate the command as we do elsewhere.

Reviewed by:	kevans
cgit
ab3ccb75 brooks Nov. 17, 2021, 8:12 p.m.
Reviewed by:	kevans
cgit
b35c2bca brooks Nov. 17, 2021, 8:12 p.m.
This matches struct __wrusage

Reviewed by:	kevans
cgit
0ebea139 brooks Nov. 17, 2021, 8:12 p.m.
This mirrors sys/kern/syscall.master and will simplify generation
of freebsd32 files.

Reviewed by:	kevans
cgit
d35a7716 brooks Nov. 17, 2021, 8:12 p.m.
Reviewed by:	kevans
cgit
f1a14110 brooks Nov. 17, 2021, 8:12 p.m.
Reviewed by:	kevans
cgit
3b0cd7e5 brooks Nov. 17, 2021, 8:12 p.m.
Move the 32 from ...32_old to ..._old32 to aid automatic generation.

Reviewed by:	kevans
cgit
5d0d6869 brooks Nov. 17, 2021, 8:12 p.m.
Follow common convention and put the `32` on the end of the struct
name.  This is a step toward generating freebsd32 syscall files
from sys/kern/syscalls.master.

Reviewed by:	kevans
cgit
e5b09976 brooks Nov. 17, 2021, 8:12 p.m.
Use this for COMPAT7 support.  In practice it's the same as
union semun32 since the pointers become uint32_t's the it's more
symetric and is the logical thing to generate from semun_old.

Reviewed by:	kevans
cgit