Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Enable veriexec(4) support by default on the macppc port and...



details:   https://anonhg.NetBSD.org/src/rev/7040f5c512b5
branches:  trunk
changeset: 829113:7040f5c512b5
user:      sevan <sevan%NetBSD.org@localhost>
date:      Wed Jan 17 12:41:48 2018 +0000

description:
Enable veriexec(4) support by default on the macppc port and update the manual to mention it.

Closes PR port-powerpc/52908

diffstat:

 share/man/man4/veriexec.4    |   6 +++---
 sys/arch/macppc/conf/GENERIC |  14 ++++++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diffs (69 lines):

diff -r 373ad701bd8b -r 7040f5c512b5 share/man/man4/veriexec.4
--- a/share/man/man4/veriexec.4 Wed Jan 17 08:34:15 2018 +0000
+++ b/share/man/man4/veriexec.4 Wed Jan 17 12:41:48 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: veriexec.4,v 1.25 2017/08/30 05:47:24 wiz Exp $
+.\" $NetBSD: veriexec.4,v 1.26 2018/01/17 12:41:48 sevan Exp $
 .\"
 .\" Copyright 2005 Elad Efrat <elad%bsd.org.il@localhost>
 .\" Copyright 2005 Brett Lymn <blymn%netbsd.org@localhost>
@@ -26,7 +26,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 30, 2017
+.Dd January 17, 2018
 .Dt VERIEXEC 4
 .Os
 .Sh NAME
@@ -153,7 +153,7 @@
 .Sh NOTES
 .Nm
 is part of the default configuration on the following architectures: amd64,
-i386, prep, sparc64.
+i386, macppc, prep, sparc64.
 .Sh AUTHORS
 .An Brett Lymn Aq Mt blymn%NetBSD.org@localhost
 .An Elad Efrat Aq Mt elad%NetBSD.org@localhost
diff -r 373ad701bd8b -r 7040f5c512b5 sys/arch/macppc/conf/GENERIC
--- a/sys/arch/macppc/conf/GENERIC      Wed Jan 17 08:34:15 2018 +0000
+++ b/sys/arch/macppc/conf/GENERIC      Wed Jan 17 12:41:48 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.337 2017/12/27 18:30:02 sevan Exp $
+# $NetBSD: GENERIC,v 1.338 2018/01/17 12:41:48 sevan Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.337 $"
+#ident                 "GENERIC-$Revision: 1.338 $"
 
 maxusers       32
 
@@ -650,17 +650,19 @@
 # userland interface to drivers, including autoconf and properties retrieval
 pseudo-device   drvctl
 
+options        FILEASSOC               # fileassoc(9) - needed by Veriexec
+
 # Veriexec
 #
 # a pseudo device needed for veriexec
-#pseudo-device veriexec
+pseudo-device  veriexec
 #
 # Uncomment the fingerprint methods below that are desired. Note that
 # removing fingerprint methods will have almost no impact on the kernel
 # code size.
 #
-#options VERIFIED_EXEC_FP_SHA256
-#options VERIFIED_EXEC_FP_SHA384
-#options VERIFIED_EXEC_FP_SHA512
+options VERIFIED_EXEC_FP_SHA256
+options VERIFIED_EXEC_FP_SHA384
+options VERIFIED_EXEC_FP_SHA512
 
 #options PAX_MPROTECT=0                        # PaX mprotect(2) restrictions



Home | Main Index | Thread Index | Old Index