svn commit: r367999 - head/share/mk

2020-11-24 Thread Simon J. Gerraty
ons.mkTue Nov 24 21:28:44 2020 (r367998) +++ head/share/mk/dirdeps-options.mkTue Nov 24 21:45:38 2020 (r367999) @@ -1,7 +1,7 @@ # $FreeBSD$ -# $Id: dirdeps-options.mk,v 1.9 2018/09/20 00:07:19 sjg Exp $ +# $Id: dirdeps-options.mk,v 1.17 2020/08/07 01:57:38 sjg Exp $ # -#

svn commit: r367863 - in head: contrib/bmake contrib/bmake/filemon contrib/bmake/missing contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-11-19 Thread Simon J. Gerraty
:46:27 2020 (r367862) +++ head/contrib/bmake/ChangeLogFri Nov 20 06:02:31 2020 (r367863) @@ -1,3 +1,78 @@ +2020-11-17 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20201117 + Merge with NetBSD make, pick up + o fix some unit-tests when dash is .SHELL

svn commit: r367861 - vendor/NetBSD/bmake/20201117

2020-11-19 Thread Simon J. Gerraty
Author: sjg Date: Fri Nov 20 03:54:46 2020 New Revision: 367861 URL: https://svnweb.freebsd.org/changeset/base/367861 Log: tag bmake-20201117 Added: vendor/NetBSD/bmake/20201117/ - copied from r367860, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r367860 - in vendor/NetBSD/bmake/dist: . filemon missing missing/sys mk unit-tests

2020-11-19 Thread Simon J. Gerraty
== --- vendor/NetBSD/bmake/dist/ChangeLog Fri Nov 20 03:33:30 2020 (r367859) +++ vendor/NetBSD/bmake/dist/ChangeLog Fri Nov 20 03:54:37 2020 (r367860) @@ -1,3 +1,78 @@ +2020-11-17 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20201117 + Merge with NetBSD

svn commit: r367808 - vendor/NetBSD/bmake

2020-11-18 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 18 17:50:33 2020 New Revision: 367808 URL: https://svnweb.freebsd.org/changeset/base/367808 Log: Retain missing/sys/cdefs.h to support build on non-FreeBSD Modified: vendor/NetBSD/bmake/import.sh Modified: vendor/NetBSD/bmake/import.sh ==

svn commit: r367465 - in head: contrib/bmake contrib/bmake/filemon contrib/bmake/mk contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-11-07 Thread Simon J. Gerraty
Sat Nov 7 21:46:27 2020 (r367465) @@ -1,3 +1,267 @@ +2020-11-01 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20201101 + Merge with NetBSD make, pick up + o negate NoExecute to GNode_ShouldExecute + o job.c: rename JobMatchShell to FindShellByName

svn commit: r367461 - vendor/NetBSD/bmake/20201101

2020-11-07 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 7 19:42:15 2020 New Revision: 367461 URL: https://svnweb.freebsd.org/changeset/base/367461 Log: tag bmake-20201101 Added: vendor/NetBSD/bmake/20201101/ - copied from r367460, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r367460 - in vendor/NetBSD/bmake/dist: . filemon mk unit-tests

2020-11-07 Thread Simon J. Gerraty
+1,267 @@ +2020-11-01 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20201101 + Merge with NetBSD make, pick up + o negate NoExecute to GNode_ShouldExecute + o job.c: rename JobMatchShell to FindShellByName + extract EscapeShellDblQuot from JobPrintCommand

svn commit: r365366 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-09-05 Thread Simon J. Gerraty
Author: sjg Date: Sat Sep 5 19:29:42 2020 New Revision: 365366 URL: https://svnweb.freebsd.org/changeset/base/365366 Log: Update to bmake-20200902 Lots of code refactoring, simplification and cleanup. Lots of new unit-tests providing much higher code coverage. All courtesy of rillig at

svn commit: r365363 - vendor/NetBSD/bmake/20200902

2020-09-05 Thread Simon J. Gerraty
Author: sjg Date: Sat Sep 5 16:44:37 2020 New Revision: 365363 URL: https://svnweb.freebsd.org/changeset/base/365363 Log: tag bmake-20200902 Added: vendor/NetBSD/bmake/20200902/ - copied from r365362, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r365361 - in vendor/NetBSD/bmake/dist: . lst.lib mk mk/sys unit-tests

2020-09-05 Thread Simon J. Gerraty
/ChangeLog == --- vendor/NetBSD/bmake/dist/ChangeLog Sat Sep 5 10:16:24 2020 (r365360) +++ vendor/NetBSD/bmake/dist/ChangeLog Sat Sep 5 16:11:04 2020 (r365361) @@ -1,3 +1,243 @@ +2020-09-02 Simon J Gerraty

svn commit: r364965 - in head/stand: common libsa

2020-08-29 Thread Simon J. Gerraty
Author: sjg Date: Sat Aug 29 21:05:43 2020 New Revision: 364965 URL: https://svnweb.freebsd.org/changeset/base/364965 Log: zalloc_malloc:Free hexdump preceeding buffer when we detect overflow Move hexdump from stand/common/misc.c to stand/libsa/hexdump.c (svn cp) Disable use of pager -

svn commit: r364962 - stable/12/sys/security/mac_veriexec

2020-08-29 Thread Simon J. Gerraty
Author: sjg Date: Sat Aug 29 16:27:21 2020 New Revision: 364962 URL: https://svnweb.freebsd.org/changeset/base/364962 Log: mac_veriexec_fingerprint_check_vnode: v_writecount > 0 means active writers v_writecount can actually be < 0 for text, so check for v_writecount > 0 MFC of r3621

svn commit: r364961 - in stable/12: lib/libsecureboot stand/common stand/uboot/lib sys/kern

2020-08-29 Thread Simon J. Gerraty
Author: sjg Date: Sat Aug 29 16:23:00 2020 New Revision: 364961 URL: https://svnweb.freebsd.org/changeset/base/364961 Log: MFC loader fixes r361710: stand/uboot: fix setting of gateip.s_addr Missplaced paren. r361933: loader: install allow for more complete device spec in url Re

svn commit: r364443 - head/lib/libsecureboot

2020-08-20 Thread Simon J. Gerraty
Author: sjg Date: Fri Aug 21 00:27:06 2020 New Revision: 364443 URL: https://svnweb.freebsd.org/changeset/base/364443 Log: veloader: insist on verifying .4th .lua etc When files are read from .rc or .4th, verify_file is asked to guess the severity (VE_TRY,VE_WANT,VE_MUST) Reviewed by

svn commit: r363352 - in stable/12: contrib/bmake contrib/bmake/filemon contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-07-19 Thread Simon J. Gerraty
if meta file missing + +2020-07-09 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200709 + Merge with NetBSD make, pick up + o cond.c: fix for compare_expression when doEval=0 + o unit-tests/Makefile: rework + o filemon/filemon_dev.c: ensure filemon fd is closed

svn commit: r363351 - in head: lib/libbearssl lib/libc lib/libsecureboot libexec/dma/dmagent libexec/rc/rc.d sbin/veriexec stand/efi/loader stand/i386/loader

2020-07-19 Thread Simon J. Gerraty
Author: sjg Date: Sun Jul 19 23:56:19 2020 New Revision: 363351 URL: https://svnweb.freebsd.org/changeset/base/363351 Log: Revert that! Modified: head/lib/libbearssl/Makefile.depend head/lib/libc/Makefile head/lib/libsecureboot/local.trust.mk head/libexec/dma/dmagent/Makefile.depend h

svn commit: r363350 - in head: lib/libbearssl lib/libc lib/libsecureboot libexec/dma/dmagent libexec/rc/rc.d sbin/veriexec stand/efi/loader stand/i386/loader usr.bin/bmake/unit-tests

2020-07-19 Thread Simon J. Gerraty
Author: sjg Date: Sun Jul 19 23:54:00 2020 New Revision: 363350 URL: https://svnweb.freebsd.org/changeset/base/363350 Log: Oops missed Makefile.config Added: head/usr.bin/bmake/unit-tests/Makefile.config (contents, props changed) Modified: head/lib/libbearssl/Makefile.depend head/lib/li

svn commit: r363117 - in head: contrib/bmake contrib/bmake/filemon contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-07-11 Thread Simon J. Gerraty
:48 2020 (r363117) @@ -1,3 +1,98 @@ +2020-07-10 Simon J Gerraty + + * configure.in: use AC_INCLUDES_DEFAULT rather than AC_HEADER_STDC + + * VERSION (_MAKE_VERSION): 20200710 + Merge with NetBSD make, pick up + o filemon/filemon_dev.c: use O_CLOEXEC rather than extra

svn commit: r363115 - in vendor/NetBSD/bmake/dist: . filemon mk unit-tests

2020-07-11 Thread Simon J. Gerraty
-date if meta file missing + +2020-07-09 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200709 + Merge with NetBSD make, pick up + o cond.c: fix for compare_expression when doEval=0 + o unit-tests/Makefile: rework + o filemon/filemon_dev.c: ensure filemon fd is closed

svn commit: r363116 - vendor/NetBSD/bmake/20200710

2020-07-11 Thread Simon J. Gerraty
Author: sjg Date: Sat Jul 11 22:45:36 2020 New Revision: 363116 URL: https://svnweb.freebsd.org/changeset/base/363116 Log: tag bmake-20200710 Added: vendor/NetBSD/bmake/20200710/ - copied from r363115, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake

2020-07-09 Thread Simon J. Gerraty via svn-src-all
Cy Schubert wrote: > [External Email. Be cautious of content] > > > In message <45359.1594266...@kaos.jnpr.net>, "Simon J. Gerraty" writes: > > Cy Schubert wrote: > > > This broke ports. > > > > I've reverted the change. > >

Re: svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake

2020-07-08 Thread Simon J. Gerraty via svn-src-all
Cy Schubert wrote: > This broke ports. I've reverted the change. Let me know if you still see issue. > > cwsys# make checksum > make: "/usr/ports/Mk/Uses/python.mk" line 367: warning: String comparison > operator should be either == or != > make: "/usr/ports/Mk/Uses/python.mk" line 367: Malfor

svn commit: r363035 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake

2020-07-08 Thread Simon J. Gerraty
(r363034) +++ head/contrib/bmake/ChangeLogThu Jul 9 03:46:07 2020 (r363035) @@ -1,81 +1,3 @@ -2020-07-04 Simon J Gerraty - - * VERSION (_MAKE_VERSION): 20200704 - Merge with NetBSD make, pick up - (most of this by rillig@) - o lots of style and white

svn commit: r363031 - in head: contrib/bmake contrib/bmake/lst.lib contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake

2020-07-08 Thread Simon J. Gerraty
-07-04 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200704 + Merge with NetBSD make, pick up + (most of this by rillig@) + o lots of style and white-space cleanup + o lots more unit tests for variable modifiers + o simplified description of some functions

svn commit: r363019 - vendor/NetBSD/bmake/20200704

2020-07-08 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 8 18:32:25 2020 New Revision: 363019 URL: https://svnweb.freebsd.org/changeset/base/363019 Log: tag bmake-20200704 Added: vendor/NetBSD/bmake/20200704/ - copied from r363018, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r363018 - in vendor/NetBSD/bmake/dist: . lst.lib unit-tests

2020-07-08 Thread Simon J. Gerraty
/NetBSD/bmake/dist/ChangeLog Wed Jul 8 18:29:06 2020 (r363017) +++ vendor/NetBSD/bmake/dist/ChangeLog Wed Jul 8 18:32:15 2020 (r363018) @@ -1,3 +1,42 @@ +2020-07-04 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200704 + Merge with NetBSD make, pick up

svn commit: r362822 - vendor/NetBSD/bmake/20200629

2020-06-30 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 1 02:13:16 2020 New Revision: 362822 URL: https://svnweb.freebsd.org/changeset/base/362822 Log: tag bmake-20200629 Added: vendor/NetBSD/bmake/20200629/ - copied from r362821, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r362821 - in vendor/NetBSD/bmake/dist: . mk mk/sys unit-tests

2020-06-30 Thread Simon J. Gerraty
/ChangeLog == --- vendor/NetBSD/bmake/dist/ChangeLog Wed Jul 1 02:11:15 2020 (r362820) +++ vendor/NetBSD/bmake/dist/ChangeLog Wed Jul 1 02:13:04 2020 (r362821) @@ -1,3 +1,42 @@ +2020-06-29 Simon J Gerraty + + * VERSION (_MAKE_VERSION)

svn commit: r362231 - head/sys/kern

2020-06-16 Thread Simon J. Gerraty
Author: sjg Date: Tue Jun 16 17:02:56 2020 New Revision: 362231 URL: https://svnweb.freebsd.org/changeset/base/362231 Log: Make KENV_MVALLEN tunable When doing secure boot, loader wants to export loader.ve.hashed the value of which typically exceeds KENV_MVALLEN. Replace use of KENV_

svn commit: r362127 - head/lib/libsecureboot

2020-06-12 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 12 21:55:30 2020 New Revision: 362127 URL: https://svnweb.freebsd.org/changeset/base/362127 Log: verify_pcr_export: bump kenv_mvallen if needed The loader.ve.hashed list can easily exceed KENV_MVALLEN. If so, bump kenv_mvallen to a multiple of KENV_MVALLEN to a

svn commit: r362125 - head/sys/security/mac_veriexec

2020-06-12 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 12 21:51:20 2020 New Revision: 362125 URL: https://svnweb.freebsd.org/changeset/base/362125 Log: mac_veriexec_fingerprint_check_vnode: v_writecount > 0 means active writers v_writecount can actually be < 0 for text, so check for v_writecount > 0 Reviewed by:

svn commit: r362124 - head/stand/common

2020-06-12 Thread Simon J. Gerraty
Author: sjg Date: Fri Jun 12 21:48:46 2020 New Revision: 362124 URL: https://svnweb.freebsd.org/changeset/base/362124 Log: Minor cleanup of initialized variables Sort the list and cleanup trailing white-space Reviewed by: stevek MFC after:1 week Modified: head/stand/common/in

svn commit: r361986 - in head: contrib/bmake contrib/bmake/mk usr.bin/bmake

2020-06-09 Thread Simon J. Gerraty
ntrib/bmake/ChangeLogTue Jun 9 20:52:35 2020 (r361986) @@ -1,3 +1,25 @@ +2020-06-06 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200606 + Merge with NetBSD make, pick up + o make.1: cleanup + + * Makefile: fix depends for main.o which broke MAKE_VE

svn commit: r361955 - vendor/NetBSD/bmake/20200606

2020-06-08 Thread Simon J. Gerraty
Author: sjg Date: Tue Jun 9 02:07:43 2020 New Revision: 361955 URL: https://svnweb.freebsd.org/changeset/base/361955 Log: tag bmake-20200606 Added: vendor/NetBSD/bmake/20200606/ - copied from r361954, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r361954 - in vendor/NetBSD/bmake/dist: . mk

2020-06-08 Thread Simon J. Gerraty
2020 (r361954) @@ -1,3 +1,25 @@ +2020-06-06 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200606 + Merge with NetBSD make, pick up + o make.1: cleanup + + * Makefile: fix depends for main.o which broke MAKE_VERSION + +2020-06-05 Simon J Gerraty + + * VE

svn commit: r361933 - head/stand/common

2020-06-08 Thread Simon J. Gerraty
Author: sjg Date: Mon Jun 8 18:13:38 2020 New Revision: 361933 URL: https://svnweb.freebsd.org/changeset/base/361933 Log: loader: install allow for more complete device spec in url Rework to simplify and impose sane url syntax. That is we allow for file://[devname[:fstype]]/package

svn commit: r361710 - head/stand/uboot/lib

2020-06-01 Thread Simon J. Gerraty
Author: sjg Date: Mon Jun 1 23:44:03 2020 New Revision: 361710 URL: https://svnweb.freebsd.org/changeset/base/361710 Log: stand/uboot: fix setting of gateip.s_addr Missplaced paren. Reviewed by: imp MFC after:1 week Modified: head/stand/uboot/lib/net.c Modified: head/stand/

svn commit: r361674 - in stable/12: contrib/bmake contrib/bmake/filemon contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake usr.bin/bmake/unit-tests

2020-05-31 Thread Simon J. Gerraty
172 @@ +2020-05-17 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200517 + Merge with NetBSD make, pick up + o modified dollar tests to avoid shell dependencies + o new tests for .INCLUDEFROM + +2020-05-16 Simon J Gerraty + + * unit-tests/dollar.mk: tweak &#

svn commit: r361307 - in head: contrib/bmake contrib/bmake/filemon contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake

2020-05-20 Thread Simon J. Gerraty
bmake/ChangeLog == --- head/contrib/bmake/ChangeLogWed May 20 22:25:41 2020 (r361306) +++ head/contrib/bmake/ChangeLogWed May 20 22:25:46 2020 (r361307) @@ -1,3 +1,138 @@ +2020-05-17 Simon J Gerraty + +

svn commit: r361289 - vendor/NetBSD/bmake/20200517

2020-05-20 Thread Simon J. Gerraty
Author: sjg Date: Wed May 20 19:35:38 2020 New Revision: 361289 URL: https://svnweb.freebsd.org/changeset/base/361289 Log: tag bmake-20200517 Added: vendor/NetBSD/bmake/20200517/ - copied from r361288, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r361288 - in vendor/NetBSD/bmake/dist: . filemon mk mk/sys unit-tests

2020-05-20 Thread Simon J. Gerraty
361288) @@ -1,3 +1,138 @@ +2020-05-17 Simon J Gerraty + + * VERSION (_MAKE_VERSION): 20200517 + Merge with NetBSD make, pick up + o modified dollar tests to avoid shell dependencies + o new tests for .INCLUDEFROM + +2020-05-16 Simon J Gerraty + + * unit-tests/dolla

svn commit: r360481 - stable/12/sys/sys

2020-04-29 Thread Simon J. Gerraty
Author: sjg Date: Thu Apr 30 00:20:31 2020 New Revision: 360481 URL: https://svnweb.freebsd.org/changeset/base/360481 Log: Define enum for so_qstate outside of struct. LLVM-9.0 clang++ throws an error for enum defined within an anonymous struct. MFC of r360059 Reviewed by: jtl,

svn commit: r360059 - head/sys/sys

2020-04-17 Thread Simon J. Gerraty
Author: sjg Date: Sat Apr 18 01:22:41 2020 New Revision: 360059 URL: https://svnweb.freebsd.org/changeset/base/360059 Log: Define enum for so_qstate outside of struct. LLVM-9.0 clang++ throws an error for enum defined within an anonymous struct. Reviewed by: jtl, rpokala MFC after

svn commit: r359913 - in stable/12: lib/libveriexec share/mk

2020-04-13 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 14 01:07:58 2020 New Revision: 359913 URL: https://svnweb.freebsd.org/changeset/base/359913 Log: Do not claim libbearssl et al are INTERNALLIB If INTERNALLIB is defined we need PIE and bsd.incs.mk is not included. MFC of r359502 PR: 245189 R

svn commit: r359912 - stable/12/share/mk

2020-04-13 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 14 01:05:11 2020 New Revision: 359912 URL: https://svnweb.freebsd.org/changeset/base/359912 Log: Include ${.CURDIR}/local.init.mk if it exists This is handy for making local hacks to an app (eg to build it as tool for non-BSD host) without making a mess of the

svn commit: r359911 - in stable/12: lib/libsecureboot stand/libsa

2020-04-13 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 14 00:57:50 2020 New Revision: 359911 URL: https://svnweb.freebsd.org/changeset/base/359911 Log: Improve interaction of vectx and tftp On slow platforms, it helps to spread the hashing load over time so that tftp does not timeout. Also, some .4th files are t

svn commit: r359769 - stable/12/stand/liblua

2020-04-09 Thread Simon J. Gerraty
Author: sjg Date: Fri Apr 10 05:13:15 2020 New Revision: 359769 URL: https://svnweb.freebsd.org/changeset/base/359769 Log: veloader use vectx API for kernel and modules The vectx API, computes the hash for verifying a file as it is read. This avoids the overhead of reading files twice - o

svn commit: r359735 - in stable/12: lib/libsecureboot lib/libsecureboot/h lib/libsecureboot/tests share/mk stand stand/common stand/efi/loader stand/efi/loader/arch/i386 stand/ficl stand/i386/libi3...

2020-04-08 Thread Simon J. Gerraty
Author: sjg Date: Thu Apr 9 04:50:19 2020 New Revision: 359735 URL: https://svnweb.freebsd.org/changeset/base/359735 Log: veloader use vectx API for kernel and modules The vectx API, computes the hash for verifying a file as it is read. This avoids the overhead of reading files twice - o

Re: svn commit: r359705 - head/share/mk

2020-04-07 Thread Simon J. Gerraty via svn-src-all
Kyle Evans wrote: > universe13a% make -C stand -V .OBJDIR > /scratch/tmp/kevans/obj/home/kevans/head/amd64.amd64/stand > > But in a buildenv: > universe13a% make TARGET_ARCH=armv7 buildenv > Entering world for armv7:arm > For ZSH you must run: export CPUTYPE= > universe13a% make -C stand -V .OBJD

svn commit: r359700 - in head: lib/libsecureboot stand/libsa

2020-04-07 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 7 16:56:34 2020 New Revision: 359700 URL: https://svnweb.freebsd.org/changeset/base/359700 Log: Improve interaction of vectx and tftp On slow platforms, it helps to spread the hashing load over time so that tftp does not timeout. Also, some .4th files are t

svn commit: r359502 - in head: lib/libveriexec share/mk

2020-04-01 Thread Simon J. Gerraty
Author: sjg Date: Wed Apr 1 05:45:12 2020 New Revision: 359502 URL: https://svnweb.freebsd.org/changeset/base/359502 Log: Do not claim libbearssl et al are INTERNALLIB If INTERNALLIB is defined we need PIE and bsd.incs.mk is not included. PR: 245189 Reviewed by: emaste

svn commit: r359488 - head/share/mk

2020-03-31 Thread Simon J. Gerraty
Author: sjg Date: Tue Mar 31 15:59:29 2020 New Revision: 359488 URL: https://svnweb.freebsd.org/changeset/base/359488 Log: Include ${.CURDIR}/local.init.mk if it exists This is handy for making local hacks to an app (eg to build it as tool for non-BSD host) without making a mess of the

svn commit: r359307 - in head: lib/libsecureboot lib/libsecureboot/h stand/common stand/libsa stand/userboot stand/userboot/test stand/userboot/userboot usr.sbin/bhyveload

2020-03-25 Thread Simon J. Gerraty
Author: sjg Date: Wed Mar 25 19:12:19 2020 New Revision: 359307 URL: https://svnweb.freebsd.org/changeset/base/359307 Log: Fix pkgfs stat so it satisfies libsecureboot We need a valid st_dev, st_ino and st_mtime to correctly track which files have been verified and to update our notion

Re: svn commit: r358744 - in head: lib/libsecureboot lib/libsecureboot/h lib/libsecureboot/tests share/mk stand stand/common stand/efi/loader stand/efi/loader/arch/i386 stand/ficl stand/i386/libi386 s

2020-03-09 Thread Simon J. Gerraty via svn-src-all
O. Hartmann wrote: > > To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org" > [... deleted ...] > > > buildworld seems to be broken on this commit: Ah! I did a buildworld, but build the 4th version of loader. Sorry, will fix. > > [...] > --- all_subdir_stand --- > --- lstd.

svn commit: r358813 - in head/stand: ficl i386/loader

2020-03-09 Thread Simon J. Gerraty
Author: sjg Date: Mon Mar 9 16:02:54 2020 New Revision: 358813 URL: https://svnweb.freebsd.org/changeset/base/358813 Log: veloader use vectx API for kernel and modules The vectx API, computes the hash for verifying a file as it is read. This avoids the overhead of reading files twice - o

svn commit: r358811 - head/stand/liblua

2020-03-09 Thread Simon J. Gerraty
Author: sjg Date: Mon Mar 9 15:48:53 2020 New Revision: 358811 URL: https://svnweb.freebsd.org/changeset/base/358811 Log: veloader use vectx API for kernel and modules The vectx API, computes the hash for verifying a file as it is read. This avoids the overhead of reading files twice - o

Re: svn commit: r358744 - in head: lib/libsecureboot lib/libsecureboot/h lib/libsecureboot/tests share/mk stand stand/common stand/efi/loader stand/efi/loader/arch/i386 stand/ficl stand/i386/libi386 s

2020-03-08 Thread Simon J. Gerraty via svn-src-all
Sorry, this header was in the diff I checked just before commit, but somehow it got left behind. Should be fixed now. r358767 Ed Maste wrote: > On Sun, 8 Mar 2020 at 13:42, Simon J. Gerraty wrote: > > > > Author: sjg > > Date: Sun Mar 8 17:42:42 2020 > > N

svn commit: r358767 - head/stand/common

2020-03-08 Thread Simon J. Gerraty
Author: sjg Date: Sun Mar 8 18:48:01 2020 New Revision: 358767 URL: https://svnweb.freebsd.org/changeset/base/358767 Log: veloader use vectx API for kernel and modules The vectx API, computes the hash for verifying a file as it is read. This avoids the overhead of reading files twice - o

svn commit: r358744 - in head: lib/libsecureboot lib/libsecureboot/h lib/libsecureboot/tests share/mk stand stand/common stand/efi/loader stand/efi/loader/arch/i386 stand/ficl stand/i386/libi386 st...

2020-03-08 Thread Simon J. Gerraty
Author: sjg Date: Sun Mar 8 17:42:42 2020 New Revision: 358744 URL: https://svnweb.freebsd.org/changeset/base/358744 Log: veloader use vectx API for kernel and modules The vectx API, computes the hash for verifying a file as it is read. This avoids the overhead of reading files twice - o

svn commit: r355962 - head/lib/libsecureboot

2019-12-20 Thread Simon J. Gerraty
Author: sjg Date: Fri Dec 20 21:56:28 2019 New Revision: 355962 URL: https://svnweb.freebsd.org/changeset/base/355962 Log: Avoid unused vars when VE_ECDSA_HASH_AGAIN undefined Reviewed by: emaste MFC after:1 week Modified: head/lib/libsecureboot/vets.c Modified: head/lib/libsecur

svn commit: r355906 - in stable/12: bin/ls cddl/lib/libavl cddl/lib/libctf cddl/lib/libnvpair cddl/lib/libumem cddl/lib/libuutil cddl/lib/libzfs cddl/lib/libzfs_core gnu/lib/libdialog gnu/lib/libgo...

2019-12-18 Thread Simon J. Gerraty
Author: sjg Date: Thu Dec 19 04:58:11 2019 New Revision: 355906 URL: https://svnweb.freebsd.org/changeset/base/355906 Log: Add Makefile.depend.options Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend D

svn commit: r355905 - in stable/12: lib/libbsnmp/libbsnmp lib/libgcc_eh lib/libmagic lib/libpmc share/mk targets

2019-12-18 Thread Simon J. Gerraty
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/12/share/mk/dirdeps-targets.mk Thu Dec 19 04:49:34 2019 (r355905, copy of r355618, head/share/mk/dirdeps-targets.mk) @@ -0,0 +

svn commit: r355904 - in head: lib/libmagic lib/libpmc share/mk

2019-12-18 Thread Simon J. Gerraty
Author: sjg Date: Thu Dec 19 02:40:04 2019 New Revision: 355904 URL: https://svnweb.freebsd.org/changeset/base/355904 Log: Tweaks for DIRDEPS_BUILD libmagic only depend on mkmagic if not DIRDEPS_BUILD libpmc fix -I for libpmcstat local.dirdeps.mk be even more careful about adding

svn commit: r355616 - in head: bin/ls lib/libarchive lib/libbsnmp/libbsnmp lib/libc lib/libfetch lib/libpam/modules/pam_unix lib/libpcap lib/libproc lib/libradius libexec/fingerd libexec/ftpd libex...

2019-12-11 Thread Simon J. Gerraty
Author: sjg Date: Wed Dec 11 17:37:37 2019 New Revision: 355616 URL: https://svnweb.freebsd.org/changeset/base/355616 Log: Add Makefile.depend.options Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend D

svn commit: r355618 - in head: lib/libbsnmp/libbsnmp lib/libgcc_eh lib/libmagic lib/libpmc share/mk targets

2019-12-11 Thread Simon J. Gerraty
because file is newly added) +++ head/share/mk/dirdeps-targets.mkWed Dec 11 17:38:15 2019 (r355618) @@ -0,0 +1,134 @@ +# $FreeBSD$ +# RCSid: +# $Id: dirdeps-targets.mk,v 1.9 2019/10/06 20:07:50 sjg Exp $ +# +# @(#) Copyright (c) 2019 Simon J. Gerraty +# +# This file is

svn commit: r355617 - in head: bin/ls cddl/lib/libavl cddl/lib/libctf cddl/lib/libnvpair cddl/lib/libumem cddl/lib/libuutil cddl/lib/libzfs cddl/lib/libzfs_core gnu/lib/libdialog gnu/lib/libgomp gn...

2019-12-11 Thread Simon J. Gerraty
Author: sjg Date: Wed Dec 11 17:37:53 2019 New Revision: 355617 URL: https://svnweb.freebsd.org/changeset/base/355617 Log: Update Makefile.depend files Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after:

svn commit: r354230 - in stable/12/stand: . efi/loader ficl ficl/amd64 ficl/i386 ficl/x86 i386/loader libsa libsa/x86

2019-10-31 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 31 21:32:59 2019 New Revision: 354230 URL: https://svnweb.freebsd.org/changeset/base/354230 Log: Add support for hypervisor check on x86 Add ficl words for isvirtualized and move ficl inb and outb words to ficl/x86/sysdep.c so can be shared by i386 and amd64

svn commit: r354226 - stable/12/lib/libsecureboot

2019-10-31 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 31 20:29:45 2019 New Revision: 354226 URL: https://svnweb.freebsd.org/changeset/base/354226 Log: Initialize verbosity and debug level from env For EFI at least, we can seed the environment with VE_VERBOSE etc. MFC of r354038 Reviewed by: stevek imp S

svn commit: r354138 - in head: . tools/build

2019-10-28 Thread Simon J. Gerraty
Author: sjg Date: Mon Oct 28 20:45:29 2019 New Revision: 354138 URL: https://svnweb.freebsd.org/changeset/base/354138 Log: Building head on stable/11 requires libzstd Add lib/libzstd to _elftoolchain_libs tools/build/Makefile needs to create the install dir for libzstd Since this wou

svn commit: r354055 - head/stand/efi/loader

2019-10-24 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 24 22:26:06 2019 New Revision: 354055 URL: https://svnweb.freebsd.org/changeset/base/354055 Log: Guard reference to x86_hypervisor Obviously we only want x86_hypervisor on x86 Guard reference to x86_hypervisor Obviously we only want x86_hypervisor on x86 Mo

svn commit: r354043 - in head/stand: . ficl ficl/amd64 ficl/i386 ficl/x86 i386/loader libsa libsa/x86

2019-10-24 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 24 20:02:48 2019 New Revision: 354043 URL: https://svnweb.freebsd.org/changeset/base/354043 Log: Add support for hypervisor check on x86 Add ficl words for isvirtualized and move ficl inb and outb words to ficl/x86/sysdep.c so can be shared by i386 and amd64

svn commit: r354039 - head/stand/efi/loader

2019-10-24 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 24 19:52:41 2019 New Revision: 354039 URL: https://svnweb.freebsd.org/changeset/base/354039 Log: Allow loader.efi to identify non-standard boot setup PATH_BOOTABLE_TOKEN can be set to a non-standard path that identifies a device as bootable. Reviewed by: kev

svn commit: r354038 - head/lib/libsecureboot

2019-10-24 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 24 19:50:18 2019 New Revision: 354038 URL: https://svnweb.freebsd.org/changeset/base/354038 Log: Initialize verbosity and debug level from env For EFI at least, we can seed the environment with VE_VERBOSE etc. Reviewed by: stevek imp Sponsored by: Juniper

svn commit: r353697 - head/stand/efi/loader

2019-10-17 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 17 20:40:06 2019 New Revision: 353697 URL: https://svnweb.freebsd.org/changeset/base/353697 Log: Allow loader.efi to identify non-standard boot setup PATH_BOOTABLE_TOKEN can be set to a non-standard path that identifies a device as bootable. Reviewed by: kev

svn commit: r353322 - stable/12/share/mk

2019-10-08 Thread Simon J. Gerraty
Author: sjg Date: Tue Oct 8 20:14:33 2019 New Revision: 353322 URL: https://svnweb.freebsd.org/changeset/base/353322 Log: Need to use ${${_${group}DIR_${file}}} for STAGE_DIR STAGE_DIR.${${_${group}DIR_${file}}:C,[/*],_,g} was getting ${STAGE_OBJTOP}BINDIR rather than ${STAGE_OBJTOP}${

svn commit: r352942 - head/share/mk

2019-10-01 Thread Simon J. Gerraty
Author: sjg Date: Tue Oct 1 20:32:03 2019 New Revision: 352942 URL: https://svnweb.freebsd.org/changeset/base/352942 Log: Need to use ${${_${group}DIR_${file}}} for STAGE_DIR STAGE_DIR.${${_${group}DIR_${file}}:C,[/*],_,g} was getting ${STAGE_OBJTOP}BINDIR rather than ${STAGE_OBJTOP}${

svn commit: r352782 - stable/12/share/mk

2019-09-26 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 27 00:11:09 2019 New Revision: 352782 URL: https://svnweb.freebsd.org/changeset/base/352782 Log: Document logic for __DEFAULT_DEPENDENT_OPTIONS MFC of r352370 Reviewed by: stevek Differential Revision:https://reviews.freebsd.org/D21640 Modified:

svn commit: r352781 - stable/12/share/mk

2019-09-26 Thread Simon J. Gerraty
) +++ stable/12/share/mk/dirdeps-options.mk Fri Sep 27 00:08:40 2019 (r352781) @@ -1,5 +1,5 @@ # $FreeBSD$ -# $Id: dirdeps-options.mk,v 1.8 2018/05/29 22:31:21 sjg Exp $ +# $Id: dirdeps-options.mk,v 1.9 2018/09/20 00:07:19 sjg Exp $ # # @(#) Copyright (c) 2018, Simon J. Gerraty

svn commit: r352370 - head/share/mk

2019-09-15 Thread Simon J. Gerraty
Author: sjg Date: Mon Sep 16 00:32:23 2019 New Revision: 352370 URL: https://svnweb.freebsd.org/changeset/base/352370 Log: Document logic for __DEFAULT_DEPENDENT_OPTIONS Reviewed by: stevek Differential Revision:https://reviews.freebsd.org/D21640 Modified: head/share/mk/bsd.mk

svn commit: r352273 - stable/12/share/mk

2019-09-12 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 13 05:54:09 2019 New Revision: 352273 URL: https://svnweb.freebsd.org/changeset/base/352273 Log: Use file destdir for stage_as sets We cannot use file (without :T) to name targets but we can use the destination directory (with / replaced by _) This has the bene

svn commit: r351954 - head/share/mk

2019-09-06 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 6 19:05:01 2019 New Revision: 351954 URL: https://svnweb.freebsd.org/changeset/base/351954 Log: Use file destdir for stage_as sets We cannot use file (without :T) to name targets but we can use the destination directory (with / replaced by _) This has the bene

svn commit: r346604 - in head/lib/libsecureboot: . h

2019-09-03 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 23 20:25:25 2019 New Revision: 346604 URL: https://svnweb.freebsd.org/changeset/base/346604 Log: Allow no_hash to appear in manifest. sbin/veriexec will ignore entries that have no hash anyway, but loader needs to be explicitly told that such files are ok to ig

Re: svn commit: r346145 - in stable/12: contrib/bearssl etc/mtree include lib lib/libbearssl lib/libsecureboot lib/libsecureboot/tests sbin sbin/veriexec share/mk stand stand/common stand/ficl stand/f

2019-09-03 Thread Simon J. Gerraty via svn-src-all
John Baldwin wrote: > > but would it not be more correct to just run makeman ? > > Yes, I would just run makeman and commit the result. Ideally you'd > have included that in the original MFC even, but a followup commit > is fine. I don't think it's really useful to try to MFC the 344853 > chang

Re: svn commit: r346145 - in stable/12: contrib/bearssl etc/mtree include lib lib/libbearssl lib/libsecureboot lib/libsecureboot/tests sbin sbin/veriexec share/mk stand stand/common stand/ficl stand/f

2019-09-03 Thread Simon J. Gerraty via svn-src-all
Herbert J. Skuhra wrote: > On Fri, 12 Apr 2019 03:03:00 +0200, "Simon J. Gerraty" wrote: > > Also sbin/veriexec for mac_veriexec > > > > MFC r343281,344564-344568,344780,344784,345289,346070 > > Partly MFC r344853? Once the semihalf guys MFC thei

svn commit: r346169 - stable/12/share/man/man5

2019-09-03 Thread Simon J. Gerraty
Author: sjg Date: Fri Apr 12 20:35:11 2019 New Revision: 346169 URL: https://svnweb.freebsd.org/changeset/base/346169 Log: Regenerate src.conf.5 for recent changes. Modified: stable/12/share/man/man5/src.conf.5 Modified: stable/12/share/man/man5/src.conf.5 ===

svn commit: r346145 - in stable/12: contrib/bearssl etc/mtree include lib lib/libbearssl lib/libsecureboot lib/libsecureboot/tests sbin sbin/veriexec share/mk stand stand/common stand/ficl stand/fi...

2019-09-03 Thread Simon J. Gerraty
Author: sjg Date: Fri Apr 12 01:03:00 2019 New Revision: 346145 URL: https://svnweb.freebsd.org/changeset/base/346145 Log: Add support for loader veriexec Also sbin/veriexec for mac_veriexec MFC r343281,344564-344568,344780,344784,345289,346070 Added: stable/12/contrib/bearssl/

svn commit: r346070 - head/lib/libsecureboot

2019-09-03 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 9 22:20:11 2019 New Revision: 346070 URL: https://svnweb.freebsd.org/changeset/base/346070 Log: Always report file with incorrect hash. Modified: head/lib/libsecureboot/verify_file.c Modified: head/lib/libsecureboot/verify_file.c ===

svn commit: r346032 - in stable/11/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/nandfs fs/nfsclient kern ufs/ufs

2019-09-03 Thread Simon J. Gerraty
Author: sjg Date: Mon Apr 8 15:52:13 2019 New Revision: 346032 URL: https://svnweb.freebsd.org/changeset/base/346032 Log: Add _PC_ACL_* to vop_stdpathconf This avoid EINVAL from tmpfs etc. Merge of r345024 Reviewed by:kib Differential Revision: https://reviews.freebsd.org/

svn commit: r345972 - in stable/12/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/nandfs fs/nfsclient kern ufs/ufs

2019-09-03 Thread Simon J. Gerraty
Author: sjg Date: Fri Apr 5 23:34:46 2019 New Revision: 345972 URL: https://svnweb.freebsd.org/changeset/base/345972 Log: Add _PC_ACL_* to vop_stdpathconf This avoid EINVAL from tmpfs etc. Merge of r345024 Reviewed by:kib Differential Revision: https://reviews.freebsd.org/

svn commit: r351067 - head/share/mk

2019-08-14 Thread Simon J. Gerraty
Author: sjg Date: Thu Aug 15 06:00:55 2019 New Revision: 351067 URL: https://svnweb.freebsd.org/changeset/base/351067 Log: Revert prior change till installworld sorted Modified: head/share/mk/bsd.files.mk Modified: head/share/mk/bsd.files.mk ==

Re: svn commit: r351055 - head/share/mk

2019-08-14 Thread Simon J. Gerraty via svn-src-all
O. Hartmann wrote: > This commit seems to break "make installworld" by this error during install: Sorry, I'll revert if I cannot quickly spot the issue > > [...] > ===> share/doc (install) > ===> share/doc/IPv6 (install) > installing DIRS FILESDIR > install -d -m 0755 -o root -g wheel /usr/s

svn commit: r351055 - head/share/mk

2019-08-14 Thread Simon J. Gerraty
Author: sjg Date: Wed Aug 14 22:33:46 2019 New Revision: 351055 URL: https://svnweb.freebsd.org/changeset/base/351055 Log: bsd.files.mk: fix targets to avoid directories Reintroduce :T when file is used as part of a target name. Reviewed by: stevek Modified: head/share/mk/bsd.files

svn commit: r350312 - stable/12/stand/common

2019-07-24 Thread Simon J. Gerraty
Author: sjg Date: Thu Jul 25 00:07:10 2019 New Revision: 350312 URL: https://svnweb.freebsd.org/changeset/base/350312 Log: loader: ignore some variable settings if input unverified libsecureboot can tell us if the most recent file opened was verfied or not. If it's state is VE_UNVERIFIE

svn commit: r350099 - head/stand/common

2019-07-17 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 17 23:33:14 2019 New Revision: 350099 URL: https://svnweb.freebsd.org/changeset/base/350099 Log: loader: ignore some variable settings if input unverified libsecureboot can tell us if the most recent file opened was verfied or not. If it's state is VE_UNVERIFIE

svn commit: r349924 - in head/lib/libsecureboot: . openpgp

2019-07-11 Thread Simon J. Gerraty
Author: sjg Date: Thu Jul 11 22:06:59 2019 New Revision: 349924 URL: https://svnweb.freebsd.org/changeset/base/349924 Log: libsecureboot: avoid recusion in ve_trust_init set our guard value immediately. also replace call to ve_trust_init in opgp_sig.c:initialize with call to openpgp_tru

svn commit: r349894 - in stable/12/lib/libsecureboot: . h openpgp

2019-07-10 Thread Simon J. Gerraty
Author: sjg Date: Wed Jul 10 21:35:55 2019 New Revision: 349894 URL: https://svnweb.freebsd.org/changeset/base/349894 Log: libsecureboot: allow OpenPGP support to be dormant Since we can now add OpenPGP trust anchors at runtime, ensure the latent support is available. Ensure we do no

svn commit: r349446 - in head/lib/libsecureboot: . h openpgp

2019-06-26 Thread Simon J. Gerraty
Author: sjg Date: Wed Jun 26 23:33:32 2019 New Revision: 349446 URL: https://svnweb.freebsd.org/changeset/base/349446 Log: libsecureboot: allow OpenPGP support to be dormant Since we can now add OpenPGP trust anchors at runtime, ensure the latent support is available. Ensure we do no

svn commit: r348449 - in stable/12/stand: . ficl libsa

2019-05-30 Thread Simon J. Gerraty
Author: sjg Date: Thu May 30 23:43:54 2019 New Revision: 348449 URL: https://svnweb.freebsd.org/changeset/base/348449 Log: ficl pfopen: verify file If the file is verified - do not allow write otherwise do not allow read. Add O_ACCMODE to stand.h MFC of r348249 Reviewed by:

svn commit: r348249 - in head/stand: . ficl libsa

2019-05-24 Thread Simon J. Gerraty
Author: sjg Date: Fri May 24 19:43:38 2019 New Revision: 348249 URL: https://svnweb.freebsd.org/changeset/base/348249 Log: ficl pfopen: verify file If the file is verified - do not allow write otherwise do not allow read. Add O_ACCMODE to stand.h Reviewed by: stevek, mindal_sem

  1   2   3   4   5   >