[PATCH] s390x: sthyi: Fix section size requirement and error

Heiko Carstens hca at linux.ibm.com
Thu Jul 23 11:30:01 UTC 2020


On Thu, Jun 18, 2020 at 12:36:48PM -0400, Janosch Frank wrote:
> Some old z/VM instances report only 40 bytes for the partition
> section, as they don't report the last three struct members.
> 
> Let's lower the size check of that section to 40 to accommodate them.
> 
> Also we expect a section to be at least x bytes, so we should make
> that clear in the error message.
> 
> Signed-off-by: Janosch Frank <frankja at linux.ibm.com>
> ---
> I already sent this out in Mach 2019, but it seems the patch got lost.
> Old z/VM instances on z12 are still in our CI environment and this
> problem breaks the tests on such machines.
> ---
>  s390.c             | 26 ++++++++++++++------------
>  tests/s390_sthyi.c | 30 +++++++++++++++---------------
>  2 files changed, 29 insertions(+), 27 deletions(-)

Any chance this gets merged into strace?


More information about the Strace-devel mailing list