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 9A3D9C55ABD for ; Fri, 6 Nov 2020 18:28:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FABD221FA for ; Fri, 6 Nov 2020 18:28:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="lG3pAyYv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727257AbgKFS2j (ORCPT ); Fri, 6 Nov 2020 13:28:39 -0500 Received: from mail.skyhub.de ([5.9.137.197]:35248 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgKFS2j (ORCPT ); Fri, 6 Nov 2020 13:28:39 -0500 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: Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org Archived-At: List-Archive: List-Post: 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