From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932804AbcILMiK (ORCPT ); Mon, 12 Sep 2016 08:38:10 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39216 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758609AbcILMiB (ORCPT ); Mon, 12 Sep 2016 08:38:01 -0400 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: borntraeger@de.ibm.com X-IBM-RcptTo: linux-kbuild@vger.kernel.org;linux-kernel@vger.kernel.org;linux-s390@vger.kernel.org From: Christian Borntraeger To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Cc: Heiko Carstens , Martin Schwidefsky , Michal Marek , Andrey Ryabinin , Yang Shi , Andrew Morton , Christian Borntraeger Subject: [PATCH 0/2] ubsan for s390 Date: Mon, 12 Sep 2016 14:37:18 +0200 X-Mailer: git-send-email 2.5.5 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16091212-0040-0000-0000-000002D0EA11 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16091212-0041-0000-0000-00001CEC85E3 Message-Id: <1473683840-8700-1-git-send-email-borntraeger@de.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-12_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=1 spamscore=1 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609020000 definitions=main-1609120195 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set enables ubsan for s390. We have to fence some files and can then enable ARCH_HAS_UBSAN_SANITIZE_ALL. (patch 2) We have to disable the null pointer sanitizer as we use the S390_lowcore macro to access several memory location after address 0 (patch 1) If patch 1 is ok, is the s390 tree the right place also for patch1? Christian Borntraeger (2): ubsan: allow to disable the null sanitizer s390/ubsan: enable UBSAN for s390 arch/s390/Kconfig | 2 ++ arch/s390/boot/compressed/Makefile | 1 + arch/s390/kernel/Makefile | 3 +++ arch/s390/kernel/vdso32/Makefile | 3 ++- arch/s390/kernel/vdso64/Makefile | 3 ++- lib/Kconfig.ubsan | 11 +++++++++++ scripts/Makefile.ubsan | 5 ++++- 7 files changed, 25 insertions(+), 3 deletions(-) -- 2.5.5