common/rc: check dmesg for UBSAN errors
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 16 Nov 2017 01:22:44 +0000 (17:22 -0800)
committerEryu Guan <eguan@redhat.com>
Thu, 16 Nov 2017 04:24:12 +0000 (12:24 +0800)
commitdca11687378809f6a84da8f957ed45dd8fed4567
tree019102a43901caee6be4bb4a3e220a268514bda1
parentb5b3e2220ace9f91ef8b9fc3b7593b1a3e46117d
common/rc: check dmesg for UBSAN errors

If the UBSAN complains about bad behavior, we should capture the
dmesg so that developers can inspect it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc