Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2399803yba; Thu, 25 Apr 2019 16:04:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeGt+l1Ro9BDVQdeuAVnJMztSjs59WSBkFFS7Jkx+pcj6niv4tmdTlitt0mFPlc4MGMtjI X-Received: by 2002:a63:d908:: with SMTP id r8mr6904310pgg.268.1556233475299; Thu, 25 Apr 2019 16:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556233475; cv=none; d=google.com; s=arc-20160816; b=xQYRPKTWqhbic86ZD1hehWvEXtp4D37BzcfJM475593Aq2K6Yv/+mdcj5T2hp/Ja2B sGsBmXekpKQ7vmNh7zM1SKdEe0n/tf/terva2KXl++NKNSTNm+DopM+XBgHvnjJvYX04 28gWxuvPoSPkydkwf1TBIopPbw0mu0pAdd3/EQhfpWkTiYMiE+QompDrcoZQnxKra2aj cay4q3giRYgJjdX6v3Cjj3IB8fZAznM+aFDF2Pp7FUnQFCR/vvllMNyLbFzEY0jsaGxT OF5n6DLpdjbzTrZ2hpJx1yXkl3pdDhEgCozvlsHIBc44WOiZkHjPL5EjzKOQ1KYeIZA+ fWbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=J7tNEAdBhId4eIA4gAtaSQQAoX1Xp3+wTKKGWYe9kj4=; b=bZKqL8DqECHwITofEuBu+mG2w1aEHkhbKY8snkK5xVNKpt1ulxTB/fbe75rjRF+cGg KYk9J7G4IUk5e3e9+5essK+yH0gmWxsgxCH1PL6FuUZGahx3EtOAgQhiBTnJ6p+T8oBo d7X4oPJjwwsmr4/vxZQHu/XByevAg1TuUo6r2VKFB8DpAb/FoOVaia9o9lmEkrxME6lp knbZFwdqUHbKbCSyNOOapC17lWbCVe+7ijY/JVBbMlZz3Oj6Se2I8JZXPgXRUqZ9HzOk /zbIOZ+89Dn3t+69uqcz1HR2LMOzqTS1OZw4CEpwamroK/Huj2nVQ7MefCMaOjuB042f xptg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11si22503561pga.257.2019.04.25.16.04.16; Thu, 25 Apr 2019 16:04:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388255AbfDYVqf (ORCPT + 99 others); Thu, 25 Apr 2019 17:46:35 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60778 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388240AbfDYVqc (ORCPT ); Thu, 25 Apr 2019 17:46:32 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3PLY6Ms035974 for ; Thu, 25 Apr 2019 17:46:31 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2s3kq2au86-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 25 Apr 2019 17:46:31 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 25 Apr 2019 22:46:29 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 25 Apr 2019 22:46:24 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x3PLkNkp60686498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Apr 2019 21:46:23 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1F2B3A4055; Thu, 25 Apr 2019 21:46:23 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A1C6BA404D; Thu, 25 Apr 2019 21:46:20 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.204.209]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 25 Apr 2019 21:46:20 +0000 (GMT) Received: by rapoport-lnx (sSMTP sendmail emulation); Fri, 26 Apr 2019 00:46:19 +0300 From: Mike Rapoport To: linux-kernel@vger.kernel.org Cc: Alexandre Chartre , Andy Lutomirski , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , James Bottomley , Jonathan Adams , Kees Cook , Paul Turner , Peter Zijlstra , Thomas Gleixner , linux-mm@kvack.org, linux-security-module@vger.kernel.org, x86@kernel.org, Mike Rapoport Subject: [RFC PATCH 6/7] security: enable system call isolation in kernel config Date: Fri, 26 Apr 2019 00:45:53 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556228754-12996-1-git-send-email-rppt@linux.ibm.com> References: <1556228754-12996-1-git-send-email-rppt@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19042521-0008-0000-0000-000002E00BF3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19042521-0009-0000-0000-0000224C6727 Message-Id: <1556228754-12996-7-git-send-email-rppt@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-25_18:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=997 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904250133 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SYSCALL_ISOLATION Kconfig option to enable build of SCI infrastructure. Signed-off-by: Mike Rapoport --- security/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/security/Kconfig b/security/Kconfig index e4fe2f3..0c6929a 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -65,6 +65,16 @@ config PAGE_TABLE_ISOLATION See Documentation/x86/pti.txt for more details. +config SYSCALL_ISOLATION + bool "System call isolation" + default n + depends on PAGE_TABLE_ISOLATION && !X86_PAE + help + This is an experimental feature to allow executing system + calls in an isolated address space. + + If you are unsure how to answer this question, answer N. + config SECURITY_INFINIBAND bool "Infiniband Security Hooks" depends on SECURITY && INFINIBAND -- 2.7.4