Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 3823D1A9239 for ; Sun, 7 Nov 2021 11:30:22 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 2A85C84D5F; Sun, 7 Nov 2021 11:30:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 665CB84D41 for ; Sun, 7 Nov 2021 11:30:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vIRUuBZP98Hs for ; Sun, 7 Nov 2021 11:30:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B654784D25 for ; Sun, 7 Nov 2021 11:30:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B03F1FAEC; Sun, 7 Nov 2021 11:30:19 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1636284619109880" MIME-Version: 1.0 Date: Sun, 7 Nov 2021 11:30:19 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/doc To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20211107113019.B03F1FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1636284619109880 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Sun Nov 7 11:30:19 UTC 2021 Modified Files: pkgsrc/doc: NEWS pkgsrc/doc/guide/files: hardening.xml Log Message: doc: RELRO revert To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 pkgsrc/doc/NEWS cvs rdiff -u -r1.4 -r1.5 pkgsrc/doc/guide/files/hardening.xml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1636284619109880 Content-Disposition: inline Content-Length: 3959 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/NEWS diff -u pkgsrc/doc/NEWS:1.21 pkgsrc/doc/NEWS:1.22 --- pkgsrc/doc/NEWS:1.21 Sun Oct 10 08:39:40 2021 +++ pkgsrc/doc/NEWS Sun Nov 7 11:30:19 2021 @@ -1,4 +1,4 @@ -# $NetBSD: NEWS,v 1.21 2021/10/10 08:39:40 nia Exp $ +# $NetBSD: NEWS,v 1.22 2021/11/07 11:30:19 nia Exp $ PKGSRC NEWS =========== @@ -24,12 +24,6 @@ Increased enabled-by-default hardening o like i386 - usually this is due to unsafe assembly code, which should be disabled when MKPIE is enabled. - PKGSRC_USE_RELRO was enabled on some architectures. - This should not affect the majority of packages that properly - honor CFLAGS/LDFLAGS when building. Packages experiencing - problems loading dynamic ELF plugins at runtime should have - RELRO disabled. - PKGSRC_USE_SSP was bumped from "yes" to "strong". This is not expected to have a noticable effect. Index: pkgsrc/doc/guide/files/hardening.xml diff -u pkgsrc/doc/guide/files/hardening.xml:1.4 pkgsrc/doc/guide/files/hardening.xml:1.5 --- pkgsrc/doc/guide/files/hardening.xml:1.4 Tue Nov 2 08:28:45 2021 +++ pkgsrc/doc/guide/files/hardening.xml Sun Nov 7 11:30:19 2021 @@ -1,4 +1,4 @@ - + Security hardening @@ -143,6 +143,37 @@ Currently, this means NetBSD on x86, ARM + +Not enabled by default + + +PKGSRC_MKREPRO + + +With this option, pkgsrc will try to build packages reproducibly. This allows +packages built from the same tree and with the same options, to produce +identical results bit by bit. This option should be combined with ASLR and +PKGSRC_MKPIE to avoid predictable address offsets for +attackers attempting to exploit security vulnerabilities. + + + +More details can be found here: + + + + + +Reproducible Builds - a set of software development practices that create an independently-verifiable path from source to binary code + + + + + +More work likely needs to be done before pkgsrc is fully reproducible. + + + PKGSRC_USE_RELRO @@ -171,7 +202,8 @@ entire GOT to be read-only. This is currently supported by GCC. Many software distributions now enable this -feature by default, at the "partial" level. +feature by default, at the "partial" level. However, it cannot yet be enforced +globally in pkgsrc through cwrappers. @@ -188,37 +220,6 @@ More details can be found here: - -Not enabled by default - - -PKGSRC_MKREPRO - - -With this option, pkgsrc will try to build packages reproducibly. This allows -packages built from the same tree and with the same options, to produce -identical results bit by bit. This option should be combined with ASLR and -PKGSRC_MKPIE to avoid predictable address offsets for -attackers attempting to exploit security vulnerabilities. - - - -More details can be found here: - - - - - -Reproducible Builds - a set of software development practices that create an independently-verifiable path from source to binary code - - - - - -More work likely needs to be done before pkgsrc is fully reproducible. - - - PKGSRC_USE_STACK_CHECK --_----------=_1636284619109880--