From nobody Tue Nov 22 16:37:48 2022 X-Original-To: dev-commits-src-main@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 4NGqgJ51mjz4j2Px; Tue, 22 Nov 2022 16:37:48 +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 4NGqgJ4Mscz3Ltl; Tue, 22 Nov 2022 16:37:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669135068; 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=ciSfAhdKqG7+kKdyUL2sQYWQduf5IVqYNJ95Rrv6hnk=; b=JXFbWW5YrSmjJlJxj6sqeO3sglCV34hUnZcP5kzlJv1DYeBLQbk7B+vUlj7xz1uSw87jh8 sBlM1H5w7Dg5RcFuNbnL249haZyKVbZazH2QxgTVYf03/pJ4ivAdKiop3NTX3bpt+HjElA U+7uibqgsHfr0HYC/8UHonTm7gmXP4SXK6VoeNj3rbsT4ws/iyb6p58G17/17CrY1aYuOj yFtZhiZuFjGMYxUbv6sM6ltNOU1N/ds4znh2Xit7+gfoF/L9vHyRnt7q8yGhTXMqE1YY9v s+Pj/Nbt7p9BiLYuNNHNIDdV/dSuCQpmB0J0DDwfzmNbB3eYB21IpibGaKnMMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669135068; 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=ciSfAhdKqG7+kKdyUL2sQYWQduf5IVqYNJ95Rrv6hnk=; b=wqmY6MOULOVASBxrzda1OoqzsniuihBmHvxNoyvQRhFcQvA7dFJNSAlBdSGE2ie4DZW/ul YZSahN6WCa0P4rujj9zdaIlmHFPdEWenxKu2J54k5vz1svXIqtCoQsiLW3vtiapQDLbwX4 LTykKM7+9S301dVnb6GClxYRIoK0jNHjNRxaWL2c6RA6rjwwTVdr3feo9kmnAYWV2kjIs3 5xoJBZra6Bik2z3Ljbq/wBFTYusXxTylzenr55WDxugwcpmlsRjoZxsLwu5n1dFmtcqrJP PjIubkm9cRFdzTv7FvPxCLE7vrw+c79C9pt3aIIkk975ZedDhsIY+r2wwCwR3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669135068; a=rsa-sha256; cv=none; b=wrDKOZxxCYZorNNOpHtLfl3VvhzBASk/GoyYlFZUkS/Byx6mkTnJIbl0mz5XvHLnHQbI8M b1KPL9MnKF/FlctSuKDfhjmYxIXtcdPMOiGhPms4grTp7bk1pxyzkr3K/4huRlxtG5aDGj Y/2r/UdYOkmjVCs4/8aoARs6zhPYD0qwhHEDwocfv3v25qpUaHP/i9Qf2BV1VRiMtgkOth VEcidLDD1+zCPD5PcQacwyImwzoyi18MrWZofGQDLmIR1BdHEu8fAqrcS++aVfrR9VyCPv in8umxDcXDULmG6AV9UX+AkIf+M7gyNSH5NoURn9txQuCePBl0GAAL/evjhTjw== 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 4NGqgJ3TClzq8r; Tue, 22 Nov 2022 16:37:48 +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 2AMGbmjV054591; Tue, 22 Nov 2022 16:37:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AMGbmeq054590; Tue, 22 Nov 2022 16:37:48 GMT (envelope-from git) Date: Tue, 22 Nov 2022 16:37:48 GMT Message-Id: <202211221637.2AMGbmeq054590@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 99df55bbb711 - main - libcrypto padlock.so: Link with -z noexecstack for ld.bfd. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 99df55bbb711150e7e3515f5c5a2c4d44654c278 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=99df55bbb711150e7e3515f5c5a2c4d44654c278 commit 99df55bbb711150e7e3515f5c5a2c4d44654c278 Author: John Baldwin AuthorDate: 2022-11-22 16:37:04 +0000 Commit: John Baldwin CommitDate: 2022-11-22 16:37:04 +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. --- 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}