jmcneill
51976c5c14
If fs_spec starts with the special string "ROOT.", replace it with a device
...
path derived from the value of the kern.root_device sysctl.
2018-10-06 13:09:53 +00:00
jmcneill
9aee78b66b
Create ld[4-7] device nodes, matching evbarm
2018-10-06 10:00:32 +00:00
kre
d65b3b7a40
Fix an obvious botch in the previous rev, found by martin@
2018-10-04 11:50:34 +00:00
martin
0b39a65f52
Redo xz vs. gzip selection via conditional make expressions, suggested
...
by joerg.
2018-10-01 09:47:34 +00:00
jmcneill
9060f499ba
Make more ld device nodes.
2018-09-30 16:01:08 +00:00
martin
56d7a6f003
Discussed some years ago but never commited: add an option to have a
...
single tmpfs (on /tmp) and use that for /var/shm as well (via a symlink
created after the tmpfs on /tmp has been mounted)
2018-09-30 10:38:05 +00:00
martin
15cb964115
Clarify comment, pointed out by maya: we do not expect bootloaders
...
to understand xz compression, so the kernel.gz stay as they are, only
the sets are moving to .tar.xz.
2018-09-29 06:10:01 +00:00
kre
5d13792aee
Only test USE_XZ_SETS if it is defined. This is probably not the
...
correct fix, so someone else please do it correctly - either this is
the wrong word, or it should be given a default value elsewhere.
2018-09-29 01:12:22 +00:00
martin
d7f296ff14
Prepare for .tar.xz sets
2018-09-28 15:11:36 +00:00
kre
9ae2b31ff9
Convert uses of test (aka '[') to use only posix specified forms,
...
mostly just on general principle... this resulted in one or two minor
code reformattings to keep 80 char limits - a few needless uses of
quotes ("no" ??) were also removed (sh is not C. strings are strings
without quotes around them...)
2018-09-23 23:48:33 +00:00
kre
ebc67df82a
Convert uses of test (ie: '[') to use only POSIX specified forms,
...
just on general principle (all but 3 of the changes are in code that
is commented out...)
2018-09-23 23:16:34 +00:00
kre
d0784034e5
Convert to POSIX specified usage of test (even though it would probably
...
have never been an issue here, it is trivial..., and one of the two
uses that needed changing was (and still is) commented out anyway).
2018-09-23 23:12:21 +00:00
kre
e063fa5f54
rc.subr can be used in install images (from sysinst) so must use only
...
POSIX specified test uses (no -a or -o). Also, use printf always,
rather than echo (replace echo as a function using echo with one which
uses printf).
2018-09-23 23:02:39 +00:00
maxv
ebec90347e
Remove ISDN from the kernel. It has remained unmaintained for a long time,
...
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.
This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
2018-09-23 09:20:57 +00:00
maxv
6049b090a1
Remove the userland part of ISDN. The kernel part is untouched for now.
...
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.
2018-09-23 07:24:19 +00:00
rin
ef012cc21d
Remove ISDN.
2018-09-23 06:39:23 +00:00
kre
f8f3c1e1aa
Avoid use of test -o for when this is used as part of an INSTALL system
...
and the SMALL test does not support -o
2018-09-22 13:48:22 +00:00
christos
ebe8cc5f44
add nta named directory.
2018-09-12 15:29:11 +00:00
christos
6ba44db130
add /var/chroot/nsd/var/run
2018-09-07 16:50:22 +00:00
maxv
e0384f18e7
Remove netkey/.
2018-09-06 19:19:44 +00:00
maxv
ff954d5a99
remove netnatm leftover
2018-09-06 09:31:06 +00:00
kre
d1e529d31c
Add ATF tests for printf(1)
...
Two new test programs, one for the version of printf in /bin/sh
and one for the command /usr/bin/printf (t_builtin and t_command)
Each test program has 28 test cases (the same in each) of which
currently 27 pass, and 1 is skipped.
See the test scripts themselves for more information.
2018-09-05 21:05:40 +00:00
jmcneill
d49d0a8c50
Copy bootaa64.efi to releasedir
2018-08-27 22:41:56 +00:00
christos
f062baa468
handle v6 addresses
2018-08-13 09:16:06 +00:00
kamil
928317f5a5
Register micro-UBSan ATF tests in the distribution
...
Populate distrib files, mtree lists and add the entry in Makefile to
include the new code.
2018-08-03 04:24:41 +00:00
maxv
477e523c7d
Distribute GENERIC_KASLR on amd64.
2018-08-02 16:26:09 +00:00
sevan
e01538f90d
Create fw(4) & fwmem(4) device nodes by default so fwctl(8) works out of the
...
box.
2018-07-28 14:13:13 +00:00
roy
eb279c7f26
Allow rc.conf to setup resolv.conf via resolvconf(8).
...
This allows all static network config to be in rc.conf rather than
spread across files.
2018-07-27 15:31:02 +00:00
maxv
14b1739a30
Retire the non-PAE-i386-PV configuration files. Keep only PAE-i386-PV.
...
Non-PAE has been dropped years ago by Xen.
The content of XEN3_* is merged into XEN3PAE_*, with "options PAE" set.
2018-07-26 16:22:49 +00:00
maxv
b6a911a673
Create /dev/ksyms as "440 $g_kmem". This prevents unprivileged users from
...
reading the kernel symbols. Discussed in January 2018 on tech-kern@,
reported by maya@, tested by tih@.
2018-07-21 07:46:56 +00:00
joerg
bdc22b2e01
Update LLVM/Clang build system to r337282.
2018-07-17 18:55:24 +00:00
christos
786d63ab33
deal with g++ header files.
2018-07-17 00:50:56 +00:00
martin
16afadc5f4
Drop output for MAKECONF MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE
...
in MKREPRO=yes builds.
2018-07-10 13:22:22 +00:00
martin
beccf529a5
Remove debug hack (revert previous)
2018-07-09 08:24:33 +00:00
martin
a1ed1388c0
Temporary hack to get MKREPRO debug info out of the build cluster. XXX revert!
2018-07-05 15:52:27 +00:00
roy
b729dec75a
Remove dhclient from the base system.
...
Discussed here:
https://mail-index.netbsd.org/tech-userlevel/2018/06/21/msg011233.html
2018-06-29 12:34:13 +00:00
yamaguchi
78e4f33125
Add if_vlan directory to lists to fix the build failure
...
build.sh was failed when using "-V MKDEBUG=yes"
2018-06-15 09:54:02 +00:00
sevan
66fd14939a
Prior to ZFSv15, volinit was an undocumented command which could be used to
...
populate /dev with zvol device nodes.
Following on with the recent ZFS/DTrace update, this is no longer a valid option
and causes the mountall script to barf zfs usage() following from
unrecognized command 'volinit' error.
2018-06-08 14:44:21 +00:00
riastradh
aafff8763a
Revert previous: Don't generate XMSS host keys for sshd by default.
...
XMSS is a stateful post-quantum signature scheme.
- Post-quantum security for _online_ authentication is not important
until quantum computers become practical; there's no danger of
retroactive forgery in sessions that have already completed.
- As a stateful signature schemes, XMSS is qualitatively different
from all the other ones sshd supports, requiring additional
administrative care: roll back the state (e.g., from a disk backup
or VM snapshot), and you've shot yourself in the foot.
If users want XMSS keys, they can make them explicitly, but there's
no need for this to be enabled by default.
Discussed with christos offline.
2018-05-26 19:18:11 +00:00
jmcneill
c9b64841e5
Silence ssh-keygen output when host keys are generated. Instead, print only
...
key fingerprints. This replaces dozens of lines out ASCII art output with
something more reasonable:
armv7# service sshd start
ssh-keygen: 1024 SHA256:ynP4BQ2B0Fknnf9PfF4QoUDlYi0+7rNfYXTOYP2cDic root@armv7 (DSA)
ssh-keygen: 521 SHA256:Eoj382aaJNlSxuq/aYj3AXgxfMJAkyVPoCQd2BNjJiA root@armv7 (ECDSA)
ssh-keygen: 256 SHA256:+e9/qTbbN/g6xvkadtHsmIQ+Pc0afZRxbXJsk2HKIzY root@armv7 (ED25519)
ssh-keygen: 2048 SHA256:urNaF/m6oiCe5hXFZBxGLW2PvLz0ibtRFrqYw6R+qTw root@armv7 (RSA)
ssh-keygen: 256 SHA256:Su2Nal2W3vrFz8ukpcSXngl1/bu6xUm1nSvbxTHe9Js root@armv7 (XMSS)
Starting sshd.
2018-05-26 00:17:54 +00:00
uwe
2a24bb8653
Provide resize_disklabel=NO default. Used by arm images and is not
...
part of the stock rc.d yet. This silences rc when you delete the
whole resize_* block from rc.conf after the first boot.
2018-05-25 20:48:54 +00:00
thorpej
266bca89c9
Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
...
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.
PR kern/51676
2018-05-20 14:08:32 +00:00
jmcneill
3117ca5607
Create bpf and openfirm devices
2018-04-28 12:45:03 +00:00
martin
ac1539438e
Cosmetics: default to dmesg -t when writing /var/run/dmesg.boot -
...
the timestamps at boot time are mostly useless.
2018-04-18 04:27:47 +00:00
christos
7e6759edb0
Hide ps error about processes not found (we could be more specific...)
...
It is superfluous, since we print:
foo not running? (check /var/run/foo/foo.pid).
2018-04-11 18:51:22 +00:00
christos
1399b357f6
rename ledpanel to lcdpanel
2018-04-09 20:17:33 +00:00
christos
f32c26c37c
rename panel to ledpanel
2018-04-09 19:06:34 +00:00
christos
e5ff1cf5fd
Simplify so we don't have to hard-code the key filenames in two places.
2018-04-09 15:02:39 +00:00
christos
733ab037c6
support xmss keys
2018-04-07 00:41:16 +00:00
kre
7d5ae540ad
PR misc/53145 (Bruce Lilly)
...
Use ps -A instead of ps -ax (-A means -ax, but -A is posix, -x is not)
Use ps -o args instead of ps -o command (same reason).
This makes no difference when the ps used is /bin/ps on NetBSD, but
can make a difference when some other ps command gets invoked instead.
XXX pullup -8
2018-04-01 18:26:51 +00:00