Le 20/06/2021 à 17:09, Kenta Iwasaki a écrit :
> No worries, though I would also like to apologize as I find that the
> explanation I gave in my last
> email was a little all over the place.
>
> To clarify my last e-mail, I believe the current msghdr struct layout in QEMU
> is libc-agnostic, but
No worries, though I would also like to apologize as I find that the
explanation I gave in my last email was a little all over the place.
To clarify my last e-mail, I believe the current msghdr struct layout in
QEMU is libc-agnostic, but not kernel agnostic. Rather, the current msghdr
struct layou
Le 16/05/2021 à 14:57, Kenta Iwasaki a écrit :
> Sure,
>
> The bytes of `msghdr` need to be cleared because the `msghdr` struct layout
> specified in QEMU
> appears to generalize between the definitions of `msghdr` across different
> libc's and kernels. To
> appropriately generalize `msghdr` acr
Doing a ping for this patch.
https://patchew.org/QEMU/20210516091536.1042693-1-ke...@lithdew.net/
Best regards,
Kenta Iwasaki
On Sun, 16 May 2021 at 21:57, Kenta Iwasaki wrote:
> Sure,
>
> The bytes of `msghdr` need to be cleared because the `msghdr` struct
> layout specified in QEMU appears to
The mixing of libc and kernel versions of the layout of the `msghdr`
struct causes EMSGSIZE to be returned by sendmsg if the `msghdr` struct
is not zero-initialized (such that padding bytes comprise of
uninitialized memory).
Other parts of the QEMU codebase appear to zero-initialize the `msghdr`
s
Sure,
The bytes of `msghdr` need to be cleared because the `msghdr` struct layout
specified in QEMU appears to generalize between the definitions of `msghdr`
across different libc's and kernels. To appropriately generalize `msghdr`
across libc's and kernels would either:
1. require specializing c
Le 16/05/2021 à 11:15, Kenta Iwasaki a écrit :
> The mixing of libc and kernel versions of the layout of the `msghdr`
> struct causes EMSGSIZE to be returned by sendmsg if the `msghdr` struct
> is not zero-initialized (such that padding bytes comprise of
> uninitialized memory).
>
> Other parts of