OSDN Git Service

s390/sclp: rework sclp boundary checks
authorCollin Walling <walling@linux.ibm.com>
Tue, 15 Sep 2020 19:44:10 +0000 (15:44 -0400)
committerCornelia Huck <cohuck@redhat.com>
Fri, 2 Oct 2020 11:52:49 +0000 (13:52 +0200)
commitdb13387ca01a69d870cc16dd232375c2603596f2
tree2ea1d8548b00cde811effec14b605d494647eeb3
parent912d70d2755cb9b3144eeed4014580ebc5485ce6
s390/sclp: rework sclp boundary checks

Rework the SCLP boundary check to account for different SCLP commands
(eventually) allowing different boundary sizes.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20200915194416.107460-3-walling@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/sclp.c