check-block: enable iotests with SafeStack
authorDaniele Buono <dbuono@linux.vnet.ibm.com>
Fri, 29 May 2020 20:51:22 +0000 (16:51 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 23 Jun 2020 14:46:05 +0000 (15:46 +0100)
commitd6d1a65ccab670788b6c30d918ac7bd636513f8e
tree1212048d694cdac574d08ee85593850c569d62a8
parent1e4f6065da160977f212270893372436b8f13336
check-block: enable iotests with SafeStack

SafeStack is a stack protection technique implemented in llvm. It is
enabled with a -fsanitize flag.
iotests are currently disabled when any -fsanitize option is used,
because such options tend to produce additional warnings and false
positives.

While common -fsanitize options are used to verify the code and not
added in production, SafeStack's main use is in production environments
to protect against stack smashing.

Since SafeStack does not print any warning or false positive, enable
iotests when SafeStack is the only -fsanitize option used.
This is likely going to be a production binary and we want to make sure
it works correctly.

Signed-off-by: Daniele Buono <dbuono@linux.vnet.ibm.com>
Message-id: 20200529205122.714-5-dbuono@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/check-block.sh