Re: [PATCH v2] linux-user: Correct definition of stack_t

2020-11-11 Thread Laurent Vivier
Le 05/11/2020 à 16:52, LemonBoy a écrit : > Some platforms used the wrong definition of stack_t where the flags and > size fields were swapped or where the flags field had type ulong instead > of int. > > Due to the presence of padding space in the structure and the prevalence > of little-endian m

[PATCH v2] linux-user: Correct definition of stack_t

2020-11-05 Thread LemonBoy
Some platforms used the wrong definition of stack_t where the flags and size fields were swapped or where the flags field had type ulong instead of int. Due to the presence of padding space in the structure and the prevalence of little-endian machines this problem went unnoticed for a long time.