Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3801186pxu; Mon, 30 Nov 2020 10:30:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvBBbM9y9QaIiDjSsIrubpxisEkg9JufomABkBLXEOUn81Aejnk/3LTmv8MATLKiQjglrO X-Received: by 2002:a17:906:1752:: with SMTP id d18mr22382646eje.529.1606761012322; Mon, 30 Nov 2020 10:30:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606761012; cv=none; d=google.com; s=arc-20160816; b=o5K+8mAvY/kWDhKFv3vEServMh+KMPYthAr06QrpU3Logsc2SlgtE6LcTe2sgc3J78 AHEsKSukHj56jZyy2sDl9p5Ywvsb1xCvRnLzEPLAeOuzPGJ64U7KjTp7yDcOUGZaLFKk ghT1mTuIQwvW1iGJZgx40evWY//NKYMC/sGMhq3angc9BcFH//FXZmtHB0svIEQXuwwa rmPRf+/V9Mfw+QQfrZI03aZTMJWfhd1oAHgUrVhE8ndxg2bng2bydU9pmefvK5PDkUJU wP4JcAa3l0flHaU0KlQ3X0DKr360vIsKOLz0J+ehDZ6YpPkmEB0tBTxLGDRi3b+xnQ8l hSqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:sender:dkim-signature; bh=6SFHLyZ3sYbDiiVwNR+ATp4H+5haS+q2T/30J+JE944=; b=rAS2R81Gibyu4uGYP4zx035GhzQOh8UMZ5wVm7cPUMQey5hbmwGBuPKzFAPqz6qoqJ jJdEIIJovMB762tK+f/SwjJsJfeZxqO1vux9m+HgR3gos9RapW2g/Av9RaAQslm0xIgT Qe4xiuRFs/nqlXwhB+97F/71abyhqoMb2cEY8awUl/Sd7P31IJGx7+/02E9GtUKP163m ZiFqY96Xgagmj7li2sK6FmUaYdXO8URs+/gVZ+YnoNB69SntRX0ZySV3J2jnjKyFYhrD 0zcl/l2+CjcMqUr2gGQDQIyNPAs/jRkGq95c1M7VIAp9u1vP/1ilMkGQjlxa07rHP/6E MFdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HXnKmZee; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cd11si11739801ejb.245.2020.11.30.10.29.49; Mon, 30 Nov 2020 10:30:12 -0800 (PST) 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=@google.com header.s=20161025 header.b=HXnKmZee; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727125AbgK3S1Y (ORCPT + 99 others); Mon, 30 Nov 2020 13:27:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgK3S1Y (ORCPT ); Mon, 30 Nov 2020 13:27:24 -0500 Received: from mail-qt1-x84a.google.com (mail-qt1-x84a.google.com [IPv6:2607:f8b0:4864:20::84a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D4F5C0613D2 for ; Mon, 30 Nov 2020 10:26:44 -0800 (PST) Received: by mail-qt1-x84a.google.com with SMTP id t17so8978131qtp.3 for ; Mon, 30 Nov 2020 10:26:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=6SFHLyZ3sYbDiiVwNR+ATp4H+5haS+q2T/30J+JE944=; b=HXnKmZeegOvioqXFTHGTnMqqFxXIIS2G5aSFawvr65GXD6hsY1at652t2aakKQq3wY mR3ivCMZRjLWyhxqBFZm3XMSY3kDaAqZtHFO5tMSHytAn9aVyuIZE6M29hFeuay85mGt j608Ulf40muXTaisF0CLSR3KqERAP1A2iQ0+gY7iSb6zOIxch8wxH/aSU9KtGku/+7Mw 7aFwq/I/5tGqO+VV2V7cs4G7GIHl1uHiLnoCSU2sNVYZfkt4ktoi9+5iA5HaD5+6oPOO tt6JMECHyQek1Yb+OJyax1gmOAS8N5b9PLsR+XKDuMOY+R3ZKcbCRVSu1CY+lUcFrrOs w8YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=6SFHLyZ3sYbDiiVwNR+ATp4H+5haS+q2T/30J+JE944=; b=GOP5IzJIqEKFmiCFHHPbEWUnbZPCibs7hFwqr0vgTSo5oEC4yCqqIDbk8+QWre0bRH Wu6xOYK8usMpEZ+b2PkG0z0YO/gkE3K9OMpjD84FYwHVNpL+Laa4BYJONOr5EMN0KLho r+asy1Pk3/Juuxz8SSK8sUXdNg9hUZd3QzV7Arq/8oc2XZpZptgFwTyVtX5cqdbTSr9V XoYi4VpqxHEPewZgbZV67fPpRN+XU8IROUvCv+a3yk4VigpqsAJ/VMkOXDttLZd3SXfM McoWE6Dm9vvIYA2RLTXXMJ0MFCbBFyOiZHsj5XPPYG/hcFgF11hoNQ+U3bg/5qfWyUq4 2cNw== X-Gm-Message-State: AOAM530HczHUk+a6lo45Gcwqv84b03o8Y/IbeYFnwvhlOAWhCczalgnh hLfAgrfQ/EaUINhwup9ckRmlHHuacBIyx3/mYpM= Sender: "ndesaulniers via sendgmr" X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:f693:9fff:fef4:4d25]) (user=ndesaulniers job=sendgmr) by 2002:a0c:9e43:: with SMTP id z3mr24290731qve.2.1606760803272; Mon, 30 Nov 2020 10:26:43 -0800 (PST) Date: Mon, 30 Nov 2020 10:26:41 -0800 In-Reply-To: <20201110162211.9207-2-yu-cheng.yu@intel.com> Message-Id: <20201130182641.29812-1-ndesaulniers@google.com> Mime-Version: 1.0 References: <20201110162211.9207-2-yu-cheng.yu@intel.com> X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog Subject: RE: [PATCH v15 01/26] Documentation/x86: Add CET description From: Nick Desaulniers To: yu-cheng.yu@intel.com Cc: Dave.Martin@arm.com, arnd@arndb.de, bp@alien8.de, bsingharora@gmail.com, corbet@lwn.net, dave.hansen@linux.intel.com, esyr@redhat.com, fweimer@redhat.com, gorcunov@gmail.com, hjl.tools@gmail.com, hpa@zytor.com, jannh@google.com, keescook@chromium.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, luto@kernel.org, mike.kravetz@oracle.com, mingo@redhat.com, nadav.amit@gmail.com, oleg@redhat.com, pavel@ucw.cz, pengfei.xu@intel.com, peterz@infradead.org, ravi.v.shankar@intel.com, rdunlap@infradead.org, tglx@linutronix.de, vedvyas.shanbhogue@intel.com, weijiang.yang@intel.com, x86@kernel.org, maskray@google.com, llozano@google.com, clang-built-linux@googlegroups.com, erich.keane@intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (In response to https://lore.kernel.org/lkml/20201110162211.9207-2-yu-cheng.yu@intel.com/) > These need to be enabled to build a CET-enabled kernel, and Binutils v2.31 > and GCC v8.1 or later are required to build a CET kernel. What about LLVM? Surely CrOS might be of interest to ship this on (we ship the equivalent for aarch64 on Android). > An application's CET capability is marked in its ELF header and can be > verified from the following command output, in the NT_GNU_PROPERTY_TYPE_0 > field: > > readelf -n | grep SHSTK > properties: x86 feature: IBT, SHSTK Same for llvm-readelf.