From nobody Wed Mar 22 22:28:28 2023 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 4PhjmY0PTdz41P2G; Wed, 22 Mar 2023 22:28:29 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhjmX4WLjz3hbW; Wed, 22 Mar 2023 22:28:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679524108; 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=N1OuS7rYAW8xqUMaeSjHZ4F+VED4Kue5wwT4yLYs6bc=; b=iIc99utczJko8aEhwA/VeCQynmrLzW6bg0GsYbwAAmA2SMt+eIH0ozqMRH1rp64Y9p0gO8 gQfXhPC7515VPVflodgdgS5W1wy+oRi91tFlS3ZZ6lrQ4xQF+xsPCGKw8clK2BkUoP4tr6 XK5PgyjheqrnujcoHGR5min+WEjDg6Al3GPg6dX5gCSk5FSFTjX3UGJxsgA4S1sdRvoaMi AT1CPbWY6wN9aQCfLr/ZfzBAQy9FXNDV6iItFN7rOfVV9Q4Jqt0W+Vegu1TwngRXfg6AL/ dVW/sHZo+kI59pJfucFzhLrDn5G2VKKIWb2JjIWttNv9rwkbeGE7WsXbPCpidw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679524108; 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=N1OuS7rYAW8xqUMaeSjHZ4F+VED4Kue5wwT4yLYs6bc=; b=guip9GPVbjhKkCIg21grXEa/9Ob6kDT9PkcgLPMZm1XZZAxRqkeUyApAea3shf8scR+EGv Ike9/gIUzJJDH37JAyORWkuMpystPDYyi7eWbsKMJXg7XI1ADTWX360G5SMUq2XbJXAfFk PTuIDjyWAdnSCuffIAyzzXUi8IhAYKxEh/O+rRpVTnLxOM0lBelDUVu4ijaszvFsnvjOzo Xk/Nk1SF5rLSdQR3SbtprGo3Wz3JKjqZQ0jNn2y6klG9KUOAKroXbVyhRFfV8Mn2qwAOTR yv75UhjnagcN8GFFqowfZZUsEBLuXBejpmvrca7i+TrM9TX9DglBq6q9hqHdow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679524108; a=rsa-sha256; cv=none; b=CC2Z1lioyw+ldGUQg/foiouw6KhEqm6BngNCB28lbeOEKeFF9ITDneGFalkynAmiGH7kTT jEcMGtKo3mxMZwQ9D8tIhV5MCGYOkmKNYzmQTVMR2rB+PhcKHbePbS9YC2rL9NgWkBlf/k J5RQQlRoJiq67+A7LkMQxC67YP9EcvCDlsyVk1AvTyZfbCDmLBLdsA7nyginHgN7IL4BEj wYfemyI1C7KN5e/1gTuq79OGHZXY7tzU3AooS0VCO9FrUUTGLQ8pqEFEkfBMZrGjllYnym x85fuWa2J8WuWGimf+WoFwPODQvkt0qHWKi2VOG2o0PFCUzaP1doo/eBtw5Gyw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PhjmX3bWGz1BCc; Wed, 22 Mar 2023 22:28:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32MMSSkJ001633; Wed, 22 Mar 2023 22:28:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32MMSS9T001632; Wed, 22 Mar 2023 22:28:28 GMT (envelope-from git) Date: Wed, 22 Mar 2023 22:28:28 GMT Message-Id: <202303222228.32MMSS9T001632@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: e0f29006d199 - stable/12 - libcrypto padlock.so: Link with -z noexecstack for ld.bfd. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: e0f29006d1995b014e7db692ff2d5f6f234c1e94 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e0f29006d1995b014e7db692ff2d5f6f234c1e94 commit e0f29006d1995b014e7db692ff2d5f6f234c1e94 Author: John Baldwin AuthorDate: 2022-11-22 16:37:04 +0000 Commit: John Baldwin CommitDate: 2023-03-22 00:11:15 +0000 libcrypto padlock.so: Link with -z noexecstack for ld.bfd. The assembly source files do not contain GNU-stack annotations, so ld.bfd defaults to using an executable stack. (cherry picked from commit 99df55bbb711150e7e3515f5c5a2c4d44654c278) --- secure/lib/libcrypto/engines/padlock/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/secure/lib/libcrypto/engines/padlock/Makefile b/secure/lib/libcrypto/engines/padlock/Makefile index b7b72ac076aa..f53eb0c10b99 100644 --- a/secure/lib/libcrypto/engines/padlock/Makefile +++ b/secure/lib/libcrypto/engines/padlock/Makefile @@ -9,6 +9,8 @@ SRCS+= e_padlock-x86_64.S SRCS+= e_padlock-x86.S .endif +LDFLAGS.bfd+= -Wl,-znoexecstack + .include .PATH: ${.CURDIR:H:H}/${MACHINE_CPUARCH}