From nobody Mon May 11 07:42:50 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gDWsk1RQNz6cKcl for ; Mon, 11 May 2026 07:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gDWsk0fJSz4GCl for ; Mon, 11 May 2026 07:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778485370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GkNFnpGsGXO4z7CZhxgn36llXduuQuP44YIl+qsMs4s=; b=kLO28PKGj0myuGDxaSBhT8Gq88Y7s+sWzGArf15ABOkQGWnupR+eS+BXojaiO3VuxTZNWW CGobjQJrf97oF6IxZEwnbTT8MWiXwmPLTSchWae1y1audxPI6iwcnPK9S2bl/weeRdUDhQ uFyR2Dcn2TIQ72MHvp1rPT1s/FrjSmPHDgBXclpWguV2RNg/JqV7lLqZwmpHuFtH+bEGoH 0Zfasla3BjeryUaU/WVovljLLisWlPVE1QXyxZbHdFhqa97EzYp16DZbXNqPzOgFyDpBP7 acNMBhOezb8wPqnUTtBRWbV4HLdBuXYSVv5WcB2IItTKrdOJW2XPgWuZzRaMYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778485370; a=rsa-sha256; cv=none; b=ZJ8Mcs5qusq/SBAh3oywvD0qs6aMffAWiBq8kNUTJFL1Db0rAXWnnHYuV+9T2qcsuN5aQZ hUKOyhkkGKP1q79hgv0ClUzyJmCgYDpC3n0ACPzjHniMuozgtdSNpVuzA6r/m4A+LJ5kuA shHDJxb7cr2IFRCs3ul6LyzX5b1brSi7h83er6Dd3v/9wdUhALHfhGCzn2iOqH38euUiK1 MfZELIqD+23OBPx1NYeG/3XQ6kQpGINWmTdKbyvhqqiPB6q0uLIxeTb58gi4OqmO+lNGyA 2Z4jOcISt3T83PEeezjkRJZdRF5wYz51VoBDMYv5ug0Xb0NjlAFWFBf5GmJvKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778485370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GkNFnpGsGXO4z7CZhxgn36llXduuQuP44YIl+qsMs4s=; b=cenpPxAVXW+gn9sqWBbVDLMVOqkKpfjRFo+SPcX7vDBR1KDcmtI1zTLQyvskUEKFmj6t3f vinad7ogAiMgsWLgEVTp9J8DIFoRAhROw2smuY8Fbxx/a7h2lQuS4OFEIw1rgFQzVgyZzA y/tYhQi/9qdtd8JxCO/oRfW9VnFIOc5t0ItRa1Xwu8fCTt2CeZy/ne3bfsIkkXJNXc9QB6 9qUKP8baPxsDjnnyrDhyYtQjQ0ruV9Jd6KZoFHWPQ7LD5Rrszq2khQ4jd/FeDC9Mtlyez7 zqjXU7D3+4zV5Or6pIJ/9FG8ZsmQ/jvwMm6weNOOMCLoyRmsGPdGXbhN5W48uw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gDWsk0FvBz16jg for ; Mon, 11 May 2026 07:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 21c3a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 11 May 2026 07:42:50 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ryan Libby Subject: git: bac7bd5038e0 - main - linux: address executable stack warnings List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rlibby X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bac7bd5038e09d12dfdbf79a87b25443e02d0ba9 Auto-Submitted: auto-generated Date: Mon, 11 May 2026 07:42:50 +0000 Message-Id: <6a01887a.21c3a.72ac7450@gitrepo.freebsd.org> The branch main has been updated by rlibby: URL: https://cgit.FreeBSD.org/src/commit/?id=bac7bd5038e09d12dfdbf79a87b25443e02d0ba9 commit bac7bd5038e09d12dfdbf79a87b25443e02d0ba9 Author: Ryan Libby AuthorDate: 2026-05-11 05:39:27 +0000 Commit: Ryan Libby CommitDate: 2026-05-11 05:39:27 +0000 linux: address executable stack warnings Mark assembly files as not requiring executable stacks. This still leaves linux32_vdso.so without a .note.GNU-stack section in the gcc build for now. Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D56894 --- sys/amd64/linux/linux_locore.asm | 2 ++ sys/amd64/linux/linux_support.S | 2 ++ sys/amd64/linux32/linux32_locore.asm | 2 ++ sys/amd64/linux32/linux32_support.S | 2 ++ sys/arm64/linux/linux_locore.asm | 2 ++ sys/arm64/linux/linux_support.S | 2 ++ sys/compat/linux/linux_vdso_inc.S | 2 ++ sys/i386/linux/linux_locore.asm | 2 ++ 8 files changed, 16 insertions(+) diff --git a/sys/amd64/linux/linux_locore.asm b/sys/amd64/linux/linux_locore.asm index 19a6ac5d50d8..d4af90bda5fb 100644 --- a/sys/amd64/linux/linux_locore.asm +++ b/sys/amd64/linux/linux_locore.asm @@ -85,3 +85,5 @@ END(linux_rt_sigcode) .balign 4 .previous #endif + + .section .note.GNU-stack,"",%progbits diff --git a/sys/amd64/linux/linux_support.S b/sys/amd64/linux/linux_support.S index 7cc59b205a97..2ab46fe8c5ea 100644 --- a/sys/amd64/linux/linux_support.S +++ b/sys/amd64/linux/linux_support.S @@ -227,3 +227,5 @@ ENTRY(futex_xorl_smap) movq %rax,PCB_ONFAULT(%r8) ret END(futex_xorl_smap) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/amd64/linux32/linux32_locore.asm b/sys/amd64/linux32/linux32_locore.asm index 4b77bd32600e..cc4b0488edb0 100644 --- a/sys/amd64/linux32/linux32_locore.asm +++ b/sys/amd64/linux32/linux32_locore.asm @@ -128,3 +128,5 @@ END(__kernel_vsyscall) .balign 4 .previous #endif + + .section .note.GNU-stack,"",%progbits diff --git a/sys/amd64/linux32/linux32_support.S b/sys/amd64/linux32/linux32_support.S index a316a9bf066d..1018b6ce579c 100644 --- a/sys/amd64/linux32/linux32_support.S +++ b/sys/amd64/linux32/linux32_support.S @@ -227,3 +227,5 @@ ENTRY(futex_xorl_smap) movq %rax,PCB_ONFAULT(%r8) ret END(futex_xorl_smap) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/arm64/linux/linux_locore.asm b/sys/arm64/linux/linux_locore.asm index c330546702f1..20846a324647 100644 --- a/sys/arm64/linux/linux_locore.asm +++ b/sys/arm64/linux/linux_locore.asm @@ -51,3 +51,5 @@ __user_rt_sigreturn: mov x8, #LINUX_SYS_linux_rt_sigreturn svc #0 EEND(__kernel_rt_sigreturn) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/arm64/linux/linux_support.S b/sys/arm64/linux/linux_support.S index 3b16583e9d54..61a0604dd91b 100644 --- a/sys/arm64/linux/linux_support.S +++ b/sys/arm64/linux/linux_support.S @@ -176,3 +176,5 @@ ENTRY(futex_xorl) END(futex_xorl) GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/compat/linux/linux_vdso_inc.S b/sys/compat/linux/linux_vdso_inc.S index 44cc357b4a4a..d2ac3e28aabe 100644 --- a/sys/compat/linux/linux_vdso_inc.S +++ b/sys/compat/linux/linux_vdso_inc.S @@ -37,3 +37,5 @@ _binary_linux_vdso_so_o_end: #include GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL) #endif + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/linux/linux_locore.asm b/sys/i386/linux/linux_locore.asm index dbd0757c44bc..c188ad72f009 100644 --- a/sys/i386/linux/linux_locore.asm +++ b/sys/i386/linux/linux_locore.asm @@ -122,3 +122,5 @@ END(__kernel_vsyscall) .balign 4 .previous #endif + + .section .note.GNU-stack,"",%progbits