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=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 D54E3C433DB for ; Tue, 23 Feb 2021 18:17:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A687864E85 for ; Tue, 23 Feb 2021 18:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233888AbhBWSRP (ORCPT ); Tue, 23 Feb 2021 13:17:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:55674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233889AbhBWSP4 (ORCPT ); Tue, 23 Feb 2021 13:15:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D86EE64E61; Tue, 23 Feb 2021 18:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614104116; bh=IxzJw0GUqBQVtl7etqZ3Ql2q06WxtQPDUPWKaQdph1g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q6UXG3M3ocNsbDxO/6WLeeQUVjaJrYdkicHuPikB1wtAjJevRvZlsxJNCvGmu54y8 7ujpwBx6CvfAzXyRXcVbjqJcchaY2jUFg/aCVZlpPPL9W6+r81CseWvIb+kIe1IKtM 20kL1217B7boS9J6t0i78nVBEbZx7lFb/p5gs0d3/wRMSstr65ARIMBcwuJEpDWBvf LTxGqPyz+CHHPg7rapkazKMr9RIZJPYHu0Oa/zV4jc+xzhUDtf1f1d1AFwXXI/cs2+ kzH8SOmq9H9E1Qc+I80z8dKj9iG3JOb9ClhbNxjTIugffxz30oIIhAkxfRJ91zzgaK bHMKPvRxevVYQ== From: Andy Lutomirski To: x86@kernel.org Cc: LKML , Andy Lutomirski Subject: [PATCH v2 3/3] selftests/x86: Add a missing .note.GNU-stack section to thunks_32.S Date: Tue, 23 Feb 2021 10:15:10 -0800 Message-Id: <4a79388a8ec4fc4c07e61d79ad4fca5c106bba80.1614104065.git.luto@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org test_syscall_vdso_32 ended up with an executable stacks because the asm was missing the annotation that says that it is modern and doesn't need an executable stack. Add the annotation. This was missed in commit aeaaf005da1d ("selftests/x86: Add missing .note.GNU-stack sections"). Signed-off-by: Andy Lutomirski --- tools/testing/selftests/x86/thunks_32.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/x86/thunks_32.S b/tools/testing/selftests/x86/thunks_32.S index a71d92da8f46..f3f56e681e9f 100644 --- a/tools/testing/selftests/x86/thunks_32.S +++ b/tools/testing/selftests/x86/thunks_32.S @@ -45,3 +45,5 @@ call64_from_32: ret .size call64_from_32, .-call64_from_32 + +.section .note.GNU-stack,"",%progbits -- 2.29.2