Re: [PATCH] linux-user/syscall: Endian-swap [res]uid/gid

2022-12-28 Thread Philippe Mathieu-Daudé
On 28/12/22 16:35, Philippe Mathieu-Daudé wrote: Various syscalls miss swapping the endiannes of the [res]uid/gid values. Use the tswapid() helper meant to do exactly that. Fixes: b03c60f351 ("more syscalls") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1394 This is not the correct

[PATCH] linux-user/syscall: Endian-swap [res]uid/gid

2022-12-28 Thread Philippe Mathieu-Daudé
Various syscalls miss swapping the endiannes of the [res]uid/gid values. Use the tswapid() helper meant to do exactly that. Fixes: b03c60f351 ("more syscalls") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1394 Signed-off-by: Philippe Mathieu-Daudé --- linux-user/syscall.c | 55 +++