From nobody Wed Mar 22 16:32:50 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 4PhYtB3yXXz412Nr; Wed, 22 Mar 2023 16:32: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhYtB3Bgbz3QFF; Wed, 22 Mar 2023 16:32:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679502770; 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=A6kLcRmNAxG6/SeSRE70lHGn0o0thS1eUsoFDYDx/9Q=; b=LgCJfykNIKRPk5qiGzBhWQDEgFMpP8Hs/nNk9HqsHlwCYhpfKlG4Cjms9s+Ja2wadilFxZ TV1ZsLX88DZR0v1oEJdjmBDkzEtCm0z4HeCPrgqyWoBkwszdM0nFCH1HNb07Y7aGjIxLdw 2eQxE0l0saVpQkjP1HqBs0Mov1NZYr1aE1mr9myKTakdGQA10DpMRWbwHfs8AHs210COjZ QXs8GkLvLmlpHDLoGdkb4zxMCJN/wNiCEtR4d7HxkQAHRcsAj9WccPm1T9p5AkKPqyPu6x ZPuV44I/IPLFHnYaenvsEuapPdeQGAoFeOh2aIJYr30oKsPnxjhK4KyvKGP/cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679502770; 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=A6kLcRmNAxG6/SeSRE70lHGn0o0thS1eUsoFDYDx/9Q=; b=tKtMFBSPVkklLgkOzDEm/6VOBLIa39qMXnixyGVdW/9fPTaI29b9TjecigDXs/bGumwrfd uepM7JyEA1W3vCJRcf1PVc1WFsLEzJ1Qjauf3JQChpyO2zkqVSt4rPbVh6wLb08Dif22Fy 3nIQXvQrNpQ9FtW7RSY96MHvxwCbvfVCdZvJQlXIdZ8YbIFx2aX72G4MyVVm9+4NSoHYVr m7Iqh/og+fY+oRNCBiFq3EEGSR4sV9JeLgl5kWKT8esR8tW2xrQ/JR4FR/KXH3WVtPfcOl /8wFmVMGDmj9TwrL4WO7qh8LD2AjxWV5EjbcllsHqgD+vZzXUz2+6LMnCWSslQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679502770; a=rsa-sha256; cv=none; b=SbZizhx1STHr/a1T2QGftei970MBYNAsRvfFzo0DqdJP0K38FWhFz1DEEQVCbJuAiUbLsT 0tmWFlbwggcLI2G+jgtj/fvHnLdG71CgzJnHSTYMahJEsUTsk+RF+zfJS1FuIHwhPynQcf zubhzBaPyO9KnGP38H+ryv9Gx24FLXSgjnSl07p+b6udWW0S/NOGDXkuCu4gB8xcGdbiAF n8uR5Msz6x+I1XQDbm62DenK/Ztn8xHosqmuSYyQ7I/Lc+b7E8sKixkXUBsaMVcYXfn/ss oPu+OT31G7RHAVzKYeNQI9bVmkMqnvbW7fH09yKdL3Ws9uSzE8WMTmj6+RKBJA== 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 4PhYtB25hSz11Y9; Wed, 22 Mar 2023 16:32:50 +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 32MGWo1G023984; Wed, 22 Mar 2023 16:32:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32MGWoMC023983; Wed, 22 Mar 2023 16:32:50 GMT (envelope-from git) Date: Wed, 22 Mar 2023 16:32:50 GMT Message-Id: <202303221632.32MGWoMC023983@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: b5c260d1d292 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: b5c260d1d2921e58cba56d5ddb55ecf6ce3d8e01 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=b5c260d1d2921e58cba56d5ddb55ecf6ce3d8e01 commit b5c260d1d2921e58cba56d5ddb55ecf6ce3d8e01 Author: John Baldwin AuthorDate: 2022-11-22 16:37:04 +0000 Commit: John Baldwin CommitDate: 2023-03-22 15:22:06 +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 0dbe5bd2a390..4b67c9d58f0d 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: ${SRCTOP}/sys/crypto/openssl/${MACHINE_CPUARCH}