From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF0C1C55178 for ; Fri, 6 Nov 2020 18:28:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 38ADB208FE for ; Fri, 6 Nov 2020 18:28:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="lG3pAyYv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 38ADB208FE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8CACD6B0036; Fri, 6 Nov 2020 13:28:40 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 853336B005C; Fri, 6 Nov 2020 13:28:40 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6CCB86B005D; Fri, 6 Nov 2020 13:28:40 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0193.hostedemail.com [216.40.44.193]) by kanga.kvack.org (Postfix) with ESMTP id 3B5F16B0036 for ; Fri, 6 Nov 2020 13:28:40 -0500 (EST) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id C609A180AD806 for ; Fri, 6 Nov 2020 18:28:39 +0000 (UTC) X-FDA: 77454829158.15.chess93_010af7b272d4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin15.hostedemail.com (Postfix) with ESMTP id 8FBD71814B0C9 for ; Fri, 6 Nov 2020 18:28:39 +0000 (UTC) X-HE-Tag: chess93_010af7b272d4 X-Filterd-Recvd-Size: 3227 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by imf48.hostedemail.com (Postfix) with ESMTP for ; Fri, 6 Nov 2020 18:28:38 +0000 (UTC) Received: from zn.tnic (p200300ec2f0d1f00570cf78b071a7fce.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:1f00:570c:f78b:71a:7fce]) (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 5C4761EC047F; Fri, 6 Nov 2020 19:28:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1604687317; 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=0dCrt2bo7ao0s5Db0UkWo185mnioH6HrSSqToa1Rk6M=; b=lG3pAyYv3D6a7HejoZ42uGNv3kVm3K7AO9R6HBDUf1q8pZt1NZ6WVvn9v+YLfrvBNhajt/ aA11jyMY4fpKmsov02L2BLVbc4aj2CSJK3kQ0L3b2GOJqCLqhOarPLqILco34A1hIquNmj V3FTCtID+3IDJpC0jPUOfvaKMcoCLXU= Date: Fri, 6 Nov 2020 19:28:22 +0100 From: Borislav Petkov To: "Yu, Yu-cheng" Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin , Weijiang Yang , Pengfei Xu Subject: Re: [PATCH v14 01/26] Documentation/x86: Add CET description Message-ID: <20201106182822.GH14914@zn.tnic> References: <20201012153850.26996-1-yu-cheng.yu@intel.com> <20201012153850.26996-2-yu-cheng.yu@intel.com> <20201106173410.GG14914@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Nov 06, 2020 at 10:16:47AM -0800, Yu, Yu-cheng wrote: > In the current shell, if GLIBC_TUNABLES variable is set as such, > applications started will have CET features disabled. I can put more > details here, or maybe a reference to the GLIBC man pages. Why do you keep repeating "the current shell"? You pass it with setenv(3) too, can't you? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette