Re: [PATCH v3 06/11] bsd-user: Helper routines h2g_old_sysctl

2023-02-17 Thread Richard Henderson
On 2/16/23 13:33, Warner Losh wrote: h2g_old_sysctl does the byte swapping in the data to return it to the target for the 'well known' types. For most of the types, either the data is returned verbatim (strings, byte size, opaque we don't know about) or it's returned with byte swapping (for all t

[PATCH v3 06/11] bsd-user: Helper routines h2g_old_sysctl

2023-02-16 Thread Warner Losh
h2g_old_sysctl does the byte swapping in the data to return it to the target for the 'well known' types. For most of the types, either the data is returned verbatim (strings, byte size, opaque we don't know about) or it's returned with byte swapping (for all the integer types). However, for ABI32 t