Minix 3/src 4db99f4bin/ed main.c ed.1

Remove building with NOCRYPTO option

Infrastructure change to come in a separate commit.
https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
Patch for CVE-2018-049.
Prevent shell execution with r command.
Check bounds before dereferencing in encryption routines.
Document -S to disable ! commands.

Sync with NetBSD-8

closes #268

Change-Id: I1c2849e0097b0cc9f89beef5ee24ccd9d73b4ee2
DeltaFile
+18-10bin/ed/main.c
+10-3bin/ed/ed.1
+4-4bin/ed/cbc.c
+1-4bin/ed/Makefile
+33-214 files

Minix 3/src 0578da2bin/dd dd.c

Drop main() prototype. Syncs with NetBSD-8

closes #267

Change-Id: I80a2e3329463e3473fa45fbc20681861a9ba658f
DeltaFile
+2-4bin/dd/dd.c
+2-41 files

Minix 3/src c9e73d6etc services

etc/services - sync with NetBSD-8

close #278

Change-Id: I36c2a58bbcdc397e15813740058d05c517a77a60
DeltaFile
+14,888-11,238etc/services
+14,888-11,2381 files

Minix 3/src 4322f20etc protocols

etc/protocols - sync with NetBSD-8

Change-Id: I443aafe164a9671fcd440c695a481f88b80b3bcb
DeltaFile
+224-171etc/protocols
+224-1711 files

Minix 3/src 93184c8bin/sync sync.8, bin/test test.1

Sync some manuals from bin & sbin with NetBSD-8

Grammar fixes.
Add/correct HISTORY section.

closes #276

Change-Id: I0640104acea9be90f4cbbda34abfb47c8a0b753b
DeltaFile
+12-4sbin/chown/chown.8
+7-5sbin/shutdown/shutdown.8
+8-3bin/test/test.1
+6-3sbin/nologin/nologin.8
+3-3sbin/mknod/mknod.8
+3-3bin/sync/sync.8
+39-216 files

Minix 3/src 8e97a2dsbin/newfs_v7fs newfs_v7fs.8 newfs_v7fs.c

sbin/newfs_v7fs: sync with NetBSD-8

need <sys/stat.h>
Document history.

closes #275

Change-Id: I988a269b1fffc58238008b4aa4bd8d2a56e123c4
DeltaFile
+11-2sbin/newfs_v7fs/newfs_v7fs.8
+6-4sbin/newfs_v7fs/newfs_v7fs.c
+17-62 files

Minix 3/src 25d017asbin/newfs_msdos mkfs_msdos.c newfs_msdos.c

sbin/newfs_msdos: sync with NetBSD-8

Allow 0 timestamp.
Grammar fixes.
Use the create_size if given to compute the real size instead of stat'ing
the file again, which might have been larger to start with.
Document history.

closes #274

Change-Id: Ibf881f22f351c7a17488b24a05c2110be1d65ae0
DeltaFile
+82-61sbin/newfs_msdos/mkfs_msdos.c
+34-3sbin/newfs_msdos/newfs_msdos.c
+18-6sbin/newfs_msdos/newfs_msdos.8
+4-5sbin/newfs_msdos/mkfs_msdos.h
+138-754 files

Minix 3/src 609f541bin/stty key.c

bin/stty: sync with NetBSD-8

need <time.h> for time(3)

closes #273

Change-Id: I23c6747e2490192a2ff7b98ce9f55b2e9d45be00
DeltaFile
+3-2bin/stty/key.c
+3-21 files

Minix 3/src df78030bin/rmdir rmdir.c

bin/rmdir: sync with NetBSD-8

NetBSD PR/48182: Fix rmdir -p handling of top-level (root) directory.

closes #272

Change-Id: I5a69ac84ca236ca03feea49dc9c84537147c2d65
DeltaFile
+6-2bin/rmdir/rmdir.c
+6-21 files

Minix 3/src e8ccbb3bin/ls ls.c

bin/ls: sync with NetBSD-8

NetBSD PR 50997 David Binderman: fix format strings.

closes #271

Change-Id: I27934ac0328b3f774f2adeada3ca6e0d62637821
DeltaFile
+7-7bin/ls/ls.c
+7-71 files

Minix 3/src 92435d6bin/df df.c df.1

Sync bin/df with NetBSD-8

closes #270

Change-Id: Ide8717d095ed8e8ae7c942470f2af8c6a169fcc0
DeltaFile
+6-6bin/df/df.c
+4-4bin/df/df.1
+10-102 files

Minix 3/src 02efe53bin/echo echo.c, bin/expr expr.y

Drop main() prototype.

Sync with NetBSD-8

closes #269

Change-Id: I4ce3bcbc1a1dc71745fe77bd581d07aeafc2f01b
DeltaFile
+2-4bin/sync/sync.c
+2-4bin/echo/echo.c
+2-4bin/expr/expr.y
+2-4bin/ls/main.c
+2-4bin/test/test.c
+1-2sbin/rcorder/rcorder.c
+11-226 files

Minix 3/src 2529152etc motd

Save the redirect & use HTTPS

Change-Id: I149964614957566d8bf52ba5100d067de6536731
DeltaFile
+2-2etc/motd
+2-21 files

Minix 3/src 2a40466etc motd

Update post installation article url

Change-Id: I97516481bf3e19b7f03c7e432ff882fc053ff9e8
DeltaFile
+1-1etc/motd
+1-11 files

Minix 3/src 3d71ae0minix/fs/vbfs vbfs.8

Replace misplaced string VMware with VirtualBox

In the case of vbfs the host is VirtualBox so mentions of VMware must be
copy-paste errors.

closes #264

Change-Id: Ieb1316155be8f8fb81e3e5a2b21147594f6cb4d9
DeltaFile
+1-1minix/fs/vbfs/vbfs.8
+1-11 files

Minix 3/src 03704f4minix/commands/logger logger.c logger.1, usr.bin/logger logger.c logger.1

replace logger with NetBSD version

closes #265

Change-Id: I31cb8e0ae57cc2c18a6aab1d2749818e1656c294
DeltaFile
+203-0usr.bin/logger/logger.c
+0-187minix/commands/logger/logger.c
+117-0usr.bin/logger/logger.1
+0-100minix/commands/logger/logger.1
+8-0usr.bin/logger/Makefile
+0-3minix/commands/logger/Makefile
+328-2902 files not shown
+330-2928 files

Minix 3/src c38c77cexternal/bsd/dhcp/dist/common dhcp-eval.5

dhcp-eval.5: fix typo: greater then -> greater than

Change-Id: I90a91f5392cfe6b07c0fab8ce34c8ceead2ce548
DeltaFile
+1-1external/bsd/dhcp/dist/common/dhcp-eval.5
+1-11 files

Minix 3/src 2ffe8daminix/man/man8 usage.8

usage.8: fix typo: slower then -> slower than

Change-Id: Ifc23506f857ef748f50c5e5d3143b034c0086032
DeltaFile
+1-1minix/man/man8/usage.8
+1-11 files

Minix 3/src 68b3d8cdistrib/sets/lists/minix-games mi, distrib/sets/lists/minix-man mi

import games/worms from NetBSD

closes #261

Change-Id: I83e978c24a632c851772787695c0af6c5b2d09c6
DeltaFile
+350-0games/worms/worms.c
+74-0games/worms/worms.6
+9-0games/worms/Makefile
+1-1games/Makefile
+1-0distrib/sets/lists/minix-games/mi
+1-0distrib/sets/lists/minix-man/mi
+436-16 files

Minix 3/src fb9c64bdistrib/sets/lists/minix-games mi, distrib/sets/lists/minix-man mi

import games/wtf from NetBSD

closes #260

Change-Id: Ia3bbe28d77dff7f21fe7de3d0c03a65f6681049c
DeltaFile
+111-0games/wtf/wtf
+90-0games/wtf/wtf.6
+7-0games/wtf/Makefile
+1-1games/Makefile
+1-0distrib/sets/lists/minix-games/mi
+1-0distrib/sets/lists/minix-man/mi
+211-16 files

Minix 3/src f94fc08minix/commands/part part.8

part.8: fix typo: other then -> other than

Change-Id: I966376d9d34b30a7bdd87272858d50248ca41221
DeltaFile
+1-1minix/commands/part/part.8
+1-11 files

Minix 3/src d189cd4minix/commands/vol vol.1

vol.1: fix typo: larger then -> larger than

Change-Id: I962f05774d9cf8ce4fb441ff7e2765a895649805
DeltaFile
+1-1minix/commands/vol/vol.1
+1-11 files

Minix 3/src 081c95adistrib/sets/lists/minix-games mi, distrib/sets/lists/minix-man mi

import games/worm from NetBSD

closes #262

Change-Id: I63674a1e5457bbb3d30708e12f25c30487d70324
DeltaFile
+369-0games/worm/worm.c
+62-0games/worm/worm.6
+10-0games/worm/Makefile
+1-1games/Makefile
+1-0distrib/sets/lists/minix-man/mi
+1-0distrib/sets/lists/minix-games/mi
+444-16 files

Minix 3/src 8e2f9ecminix/kernel proc.c

Fixed tiny spelling error in proc.c

an returned -> and returned

closes #255

Change-Id: I936e95c6d026f83f66a48120aa9a331b8797b89c
DeltaFile
+1-1minix/kernel/proc.c
+1-11 files

Minix 3/src a513517bin/cat cat.c

Sync with cat.c from netbsd-8

When cat is invoked with -se, print a '$' on blank lines.

Change-Id: I1bdcced967261a231eab93e8d28736f9f52f53fd
DeltaFile
+10-17bin/cat/cat.c
+10-171 files

Minix 3/src 7377a59bin/chmod chmod.1, bin/date date.1

Sync with manuals from netbsd-8 branch.

Change-Id: I82fdb7486ae4f0f8f622046538806471bfb17c1d
DeltaFile
+22-9bin/expr/expr.1
+10-5bin/kill/kill.1
+8-4bin/dd/dd.1
+8-3bin/date/date.1
+7-2bin/rm/rm.1
+7-2bin/chmod/chmod.1
+62-2512 files not shown
+130-5218 files

Minix 3/src 145839bexternal/gpl2/gmake/patches 0001-support-latest-glibc.patch, external/gpl3/gcc/patches 0004-fix-gcc-inlines.patch

Fix Compilation on Ubuntu 18.04

 * Fix Compilation of GCC on Ubuntu 18.04
   Apply the following patch:
     https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=ec1cc0263f156f70693a62cf17b254a0029f4852

 * Fix GNU make build on new GNU glibc systems

Change-Id: I44fcdc23b037a53d8cf50ec09ba9f210a1e127c8
DeltaFile
+121-0external/gpl3/gcc/patches/0004-fix-gcc-inlines.patch
+36-0external/gpl2/gmake/patches/0001-support-latest-glibc.patch
+157-02 files

Minix 3/src 03ac74eexternal/public-domain/sqlite/lib Makefile, lib/libbz2 Makefile

Fix ARM NDEBUG Builds

Change-Id: I1250744d54b75d6380393afe848a6eb8c5dc894d
DeltaFile
+8-1minix/servers/vfs/misc.c
+8-1minix/net/lwip/addr.c
+8-0minix/net/lwip/Makefile
+8-0libexec/httpd/Makefile
+8-0lib/libbz2/Makefile
+8-0external/public-domain/sqlite/lib/Makefile
+48-218 files not shown
+139-724 files

Minix 3/src 35b65c5distrib/sets/lists/minix-tests md.evbarm, minix/tests Makefile

minix/tests/arm: naive tests to cause data aborts

Some assembly code to cause unaligned access as well as
segmentation faults to exercise the data abort path.

Change-Id: Ie419114b76a8db849537a94fda781019cf14d50d
DeltaFile
+26-0minix/tests/arch/earm/test_arm_unaligned.S
+16-0minix/tests/arch/earm/test_arm_segfault.S
+9-0distrib/sets/lists/minix-tests/md.evbarm
+7-0minix/tests/arch/earm/Makefile.inc
+2-0minix/tests/Makefile
+0-0minix/tests/arch/i386/Makefile.inc
+60-06 files

Minix 3/src 0dd719fminix/kernel/arch/earm exception.c, minix/kernel/arch/earm/include archconst.h

kernel/arm: send SIGSEGV to processes

On second thought, handle unknown faults caused by processes by sending
SIGSEGV to them instead of bringing the whole system to a grind.

arm/archconst: use values defined in armreg.h

Change-Id: Ieed5bb06910ab0c8eef1e68b0b4eec680867acd3
DeltaFile
+19-17minix/kernel/arch/earm/exception.c
+7-16minix/kernel/arch/earm/include/archconst.h
+26-332 files