Message ID | 170205917625.398.13315444953275165354.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5631838vqy; Fri, 8 Dec 2023 10:13:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1VNKebHmCnQBh2P+ZozxkR/2gwnbeK4ya9nyzoWF38emECcdiXX5Hx0sw6XIpm57MuANa X-Received: by 2002:a05:6a20:13c6:b0:18f:97c:4f63 with SMTP id ho6-20020a056a2013c600b0018f097c4f63mr414192pzc.111.1702059190851; Fri, 08 Dec 2023 10:13:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702059190; cv=none; d=google.com; s=arc-20160816; b=UGwr/GJdFYBYlAoY+2luaLkjEa0su80CLMLiqWBqK5XqteDbYC6QdqIPQ7EhTVLRwq 7MHsI+VQaxdjZG+upzrq2SLOZPaEafuzzBh86AsWTPXZUnj9GG8naIM0lq88ByQ65hd8 eKW+s3wHruU16/uDwsZSL0JrMd7B735ZZkTsFIfcY+chEz+vzL/R+kmuK13BoeytJaXv UjMz/Hj5YoLDLH7uTfnfqapX7KY7O/fubOBw6xv3WQqDrO68hxkKPVAuM6Su0AsRf/vk n0ftlok4EeTPyL4KcRMEBtV/49oVriQN/+9eYfq0AFoU7OZp9aDZ5CvkqC2bwROs+By9 H+hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=19gGXCN1G7w/Flhq+ObJ4E6Xtc/2cqhMNyyS5ds7U3c=; fh=/n9XlXj1IKUyPlyHECKcBKWdQ7usrdaKCfKX5noQGgg=; b=cv1VMOedVBqClKFsS3gJu12yjvFTyFHKhFcE2tv0aPF047FbBSXkLxMzS2f+WU6fab pLWHq6pGfMybXV2nHWpDIpz5Lom1Nf5V/KMdBLBmnx+QwddN7Cp1Gi8QpBjhFYrBmZNn AjF73gRCDznwF3XZG1nXiAZHNIYVQYXPR8wvFQty1S79uvaXEtczc5OLbbHv2R8vncsa y+pTkMwMbOERLMDQIBfM3k8CMiT2GVNrpUSoTrGsk2cM6rC/XBhRD8o1dGuf5xSq3VhY vHehqLXVAeXNeAOLGBRXnHK3L4mjR6gkeE9F0VT/tViHmqfOoq6YvKZLRRPK4n/Jje4o O0Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=DKGBfBYk; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id w6-20020a17090a8a0600b00286b47270b3si3295750pjn.151.2023.12.08.10.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:13:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=DKGBfBYk; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 126F482A41DF; Fri, 8 Dec 2023 10:13:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233806AbjLHSMy (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Fri, 8 Dec 2023 13:12:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjLHSMv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 13:12:51 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FCB5E9; Fri, 8 Dec 2023 10:12:58 -0800 (PST) Date: Fri, 08 Dec 2023 18:12:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702059176; h=from:from:sender:sender:reply-to: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:content-transfer-encoding; bh=19gGXCN1G7w/Flhq+ObJ4E6Xtc/2cqhMNyyS5ds7U3c=; b=DKGBfBYk4iqAsUEKLMzPdUhHHgao/m6VbinAkCWUgI/dpUOI/tmBjurjaJpV7oRC/JVaj0 KFb6x29ah0LHK/0N5WrtPWKApISH78UGOA3qZp1Eye4QUc6JBb6JBO++JnbZSnilokrzeW qGJIYvGLmcJIyoWQNphqbtSRsT3iepco4kEawLQDTj5wnaRJc8J6Gg3zO41pmrISBpVy1J C3Bk14j2OMlywRfELUA+eFy4r7AVA+MEBf7K+5mtPAdc/wuYHPEyLyQYClYR7RYbA5JhDS XzzsvV8Zn6Sj6OWPhPu6yHo2WvkksxurT+OqGliBt9o74FVYy/EaZYnIYhm6Ag== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702059176; h=from:from:sender:sender:reply-to: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:content-transfer-encoding; bh=19gGXCN1G7w/Flhq+ObJ4E6Xtc/2cqhMNyyS5ds7U3c=; b=tyA03ph3/wdj3TCZ4CPLeu+SeXDOp/7IVTf6WCoCGOtxcl4TWbr250pnSqdz0QJ3jyHeiZ sHvUz51tgy/Be/AQ== From: "tip-bot2 for Jo Van Bulck" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/sgx] selftests/sgx: Discard unsupported ELF sections Cc: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>, Dave Hansen <dave.hansen@linux.intel.com>, Jarkko Sakkinen <jarkko@kernel.org>, x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <170205917625.398.13315444953275165354.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 10:13:06 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784738418356622069 X-GMAIL-MSGID: 1784738418356622069 |
Series |
[tip:,x86/sgx] selftests/sgx: Discard unsupported ELF sections
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Dec. 8, 2023, 6:12 p.m. UTC
The following commit has been merged into the x86/sgx branch of tip: Commit-ID: ec44ca1e34bc3a9864a8c1bf8636066ec6d5d2e5 Gitweb: https://git.kernel.org/tip/ec44ca1e34bc3a9864a8c1bf8636066ec6d5d2e5 Author: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be> AuthorDate: Thu, 05 Oct 2023 17:38:53 +02:00 Committer: Dave Hansen <dave.hansen@linux.intel.com> CommitterDate: Fri, 08 Dec 2023 10:05:28 -08:00 selftests/sgx: Discard unsupported ELF sections Building the test enclave with -static-pie may produce a dynamic symbol table, but this is not supported for enclaves and any relocations need to happen manually (e.g., as for "encl_op_array"). Thus, opportunistically discard ".dyn*" and ".gnu.hash" which the enclave loader cannot handle. Signed-off-by: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lore.kernel.org/all/20231005153854.25566-13-jo.vanbulck%40cs.kuleuven.be --- tools/testing/selftests/sgx/test_encl.lds | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/sgx/test_encl.lds b/tools/testing/selftests/sgx/test_encl.lds index 333a3e7..ffe851a 100644 --- a/tools/testing/selftests/sgx/test_encl.lds +++ b/tools/testing/selftests/sgx/test_encl.lds @@ -33,6 +33,8 @@ SECTIONS *(.note*) *(.debug*) *(.eh_frame*) + *(.dyn*) + *(.gnu.hash) } }