Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3846540pxb; Mon, 27 Sep 2021 04:06:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+Mj+y8qWvgTJU92b1LsyiMEGcFlQJ9kH2Xb7lWupWjT9RAm8TlIphuHS+UUeg0BTTAXro X-Received: by 2002:a17:907:7803:: with SMTP id la3mr26835696ejc.235.1632740796840; Mon, 27 Sep 2021 04:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632740796; cv=none; d=google.com; s=arc-20160816; b=qEUmD0WOW2s8D35glmSCoGo8mR5O377Ja3KHHWv4qsN4GLSK/9EpP7mwngA4evBWUJ nntx5DhTloRix92l8j1sAuhWTmuovNrY4UQ7igFO43jTEabYp1NHsESkOfZDF2ZhYXRy YDsgNOEZ5KHxgiWy8NZd6bQuRMG2i5IKInRfpLwxfBj347Kti2GThtyagFsmONA4ZgSD J/RRIPe1HUDcOhstYe2ar18DUp+Tj9SvTAu5/vEs4ZibGfrwlKI37+sy4aYBOvgfISw7 Ud181wyHWkgl8FwJ4jzuTKWmh2hvLLxb3Kmlvl9VXYTi7P/2npzqjQ5xyfFrFpI939Xa Ax5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qsNwbHHsJ5JBPUltaA7rHw16cotuHQQqEfsJSb1s3lE=; b=m029e6G3mIT+BTwareVj0/ja9gIjFdGgBsMNs2QU/ZE0l7pInQmYzYybhwZv0wM/af AY/V3zO4t730pjHJP67nzfWkX1p2qsfUsN8lqfbtht0zIBcpioCyMWXeduY0ahOaIGRi CnnfOZrshCWsMDmpkWyjcHVmDKdR/ZvqcTQF1gSt6WoQZqGgmYWUbMqCQXCnkEwK4RMl 4z7Tnvk2mAlfMc3j0pUkYXHYKWdzbP5LhiVobEmpa2MKiVyPlzVm400Buf4GD5lmNmkW XHqZTuavGBHVRf/I7109ae9G6N5MTBY4+QyaHFFbSfH0guqM6rB8pnqnBU42CDP/gK/7 24vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=B0CD5SlF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jy13si17998703ejc.245.2021.09.27.04.06.07; Mon, 27 Sep 2021 04:06:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=B0CD5SlF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233959AbhI0LDT (ORCPT + 99 others); Mon, 27 Sep 2021 07:03:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233908AbhI0LDK (ORCPT ); Mon, 27 Sep 2021 07:03:10 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61622C061575 for ; Mon, 27 Sep 2021 04:01:32 -0700 (PDT) Received: from zn.tnic (p200300ec2f088a001ce91a9f1eb42005.dip0.t-ipconnect.de [IPv6:2003:ec:2f08:8a00:1ce9:1a9f:1eb4:2005]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id E922E1EC05A1; Mon, 27 Sep 2021 13:01:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1632740487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=qsNwbHHsJ5JBPUltaA7rHw16cotuHQQqEfsJSb1s3lE=; b=B0CD5SlF62HvWSdBakSHIygIWwWLAwoYzp2c2QrwRapnhttEd3Mt1HOtudPmQdufMElpj4 aUWCMvpIoz7CKpzbZHdsxNH0SPmVyjVUO90krwc78zzGEFD/NiM+jicns/6MuWuWio9wiw eJnFWZYVtvYxr58jbk4C72IiwhBlrlM= Date: Mon, 27 Sep 2021 13:01:26 +0200 From: Borislav Petkov To: Lai Jiangshan Cc: Lai Jiangshan , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , Joerg Roedel , Javier Martinez Canillas , Daniel Bristot de Oliveira , Brijesh Singh , Andy Shevchenko , Arvind Sankar , Juergen Gross , Chester Lin Subject: Re: [PATCH V2 02/41] x86/traps: Remove stack-protector from traps.c Message-ID: References: <20210926150838.197719-1-jiangshanlai@gmail.com> <20210926150838.197719-3-jiangshanlai@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 27, 2021 at 06:49:16PM +0800, Lai Jiangshan wrote: > Using only "-fno-stack-protector" is enough to disable stack protector with > my .config, I'm not so sure about other configuration. What does the gcc manpage say about it? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette