Commit Graph

16325 Commits

Author SHA1 Message Date
jdolecek ad81495fd9 include aligned_alloc(3), now needed for newfs and fsck_ffs 2020-04-17 14:55:24 +00:00
roy b19d027e40 We solves the zpool SIGBUS issue by building a threaded libhack. 2020-04-14 12:14:59 +00:00
kre e9f637c8af Since dhcpcd-hools/02-dump seems to have been removed from the
repository, don't attempt to install it, and don't expect it to
be installed.    If a better fix is to return 02-dump, then this
change can be reverted (by anyone, just go ahead and do it).

dhcpcd(8) should also have mention of 02-dump removed, if removing
it was intentional.
2020-04-14 03:16:26 +00:00
tsutsui e68b02666c Fix typo. 2020-04-12 17:13:29 +00:00
simonb a91470c59b Add uxrcom driver for Exar XR21V141x USB serial adapters. Based in part
on the OpenBSD single-port XR21V1410 uxrcom driver, but adds support
for multi-port chipsets and uses the common umodem framework instead of
being a standalone driver.

Thanks to skrll@ for much USB clue and mrg@ for financing the
development of this driver.
2020-04-12 01:10:53 +00:00
christos 407ffe11fc Add new t_extattr 2020-04-11 01:51:14 +00:00
tsutsui 4c1178c516 Drop the entry for Yasushi Yamasaki, per recent ad clause removal. 2020-04-10 17:02:33 +00:00
martin 32f67d2cf1 Ooops, editor mishap in previous 2020-04-07 10:22:00 +00:00
martin 94c50ac97f Sync image size with available space reserved in the RAMDISK kernel 2020-04-06 13:28:15 +00:00
martin 05220c998f Use full available ram disk space 2020-04-06 11:58:10 +00:00
sevan 841fdb7e60 Support the use of DHCP in the install environment 2020-04-05 14:36:43 +00:00
martin d001b02d00 Adapt to libterminfo as part of libhack-curses 2020-04-05 11:19:01 +00:00
martin fa0d5eae99 Extend the curses hack to terminfo - build selected parts of
libterminfo as part of libhack, so we can drop unwanted features
for small install media.
2020-04-05 11:18:02 +00:00
mlelstv f8df89e092 revert to previous 2020-04-05 05:19:24 +00:00
christos 102c608adf we don't delete entries, we mark them obsolete so that postinstall can
delete the files.
2020-04-05 01:21:43 +00:00
mlelstv e264b2bd0f one more netsmb reference. 2020-04-04 22:08:33 +00:00
christos d8e96a2d4f Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.
2020-04-04 19:50:53 +00:00
christos 8809b7dc13 fix netsmb, libgnuctf 2020-04-04 19:26:51 +00:00
christos ec53555ab5 gnuctf is only binutils=234 2020-04-04 17:00:05 +00:00
christos 1a8140ac32 fix libgnuctf 2020-04-04 16:05:39 +00:00
christos 1e0e781857 fix sets for new binutils 2020-04-04 16:04:01 +00:00
jdolecek b28734a61b remove SMBFS and nsmb/netsmb - userland part 2020-04-04 15:39:13 +00:00
mlelstv 9f445f8e17 More binutils version mismatch. 2020-04-04 12:06:57 +00:00
mlelstv 19fee71a55 conditionally list library versions for binutils 2.31 and 2.34 2020-04-04 09:57:12 +00:00
roy da35319256 Adjust set lists for dhcpcd chroot 2020-04-02 13:03:22 +00:00
kamil bf4492493d Add ioctlprint - descriptive ioctl value printer
ioctlprint(1) is embedded in the kdump(1) program.
2020-04-02 03:32:46 +00:00
maxv 0512ed0af2 Put the ioctl definitions in a header, and install it. 2020-03-31 16:28:28 +00:00
christos f56084844e Add rpcapd 2020-03-30 02:12:38 +00:00
christos 66d7aa31df enable remote for libpcap and add rpcapd 2020-03-29 17:13:46 +00:00
martin f5c15489c8 Try to fix previous: include etc.evbarm/Makefile.inc to get proper sub-arch
settings and key the subdirs off KERENEL_SETS instead of ALL_KERNELS
(which is not always defined)
2020-03-28 15:41:23 +00:00
rin 5bbf0e2308 Get back to terminfo.cdb. 2020-03-27 15:18:22 +00:00
christos 3958d16a96 As described in tech-userlevel:
- Modify the writing code to only write entries in the new
  format for the terminal descriptions that require it.
- Store new format entries as <name>@v3
- Store old format entries with clamped values as <name> for
  backwards compatibility
- Lookup first <name>@v3 and then <name> if that is not found.
- Don't create terminfo2 anymore; old programs keep working with
  clamped entries, and new programs be able to use the wide
  fields with using the original db file.
2020-03-27 15:11:57 +00:00
thorpej 8ddade78c3 Let xunlong,orangepi-lite2 share bwfm config with raspberrypi,3-model-b-plus;
it seem to work fine and there's no better alternative at the moment.
2020-03-27 04:31:18 +00:00
skrll 35f8f9c96c Only build sshramdisk when building RPI_INSTALLx 2020-03-26 08:02:55 +00:00
skrll 909a200b92 Bump IMAGESIZE 2020-03-26 07:44:43 +00:00
kre 5388a00941 Document strerror_l()
While here also document (but comment it out since it isn't
available - yet) strerror_lr().   To include that, simply
uncomment the relevant lines, and (twice I think) s/returns/return/
on lines just after currently commented out lines (that is, it
currently says, "A returns" after the comments are returned, we
need it to be "A and B return" - the "and B" appears when the comment
markers are removed, removing the 's' from returns must be done manually.

In addition to adding strerror_l() some additional enhancements were
made to the general strerror() doc.
2020-03-25 18:45:42 +00:00
christos 4fa722caef add pw_gensalt 2020-03-25 17:13:49 +00:00
roy bb2ce1fb3d curses: Add stubs for mouse functions
No mouse support actually included.
But that doesn't matter because most terms don't actually support a mouse.

We should look into hooking these into wsmouse(4) and xterm mouse
in the future.

Compatable with nCurses mouse API version 2.
2020-03-23 13:37:36 +00:00
martin a5c8ab7a11 Bump image size - new firmware files need more space 2020-03-23 11:45:00 +00:00
thorpej 3639ae7e3e Install the common AP6212 nvram config and use it for sinovoip,bpi-m2-zero. 2020-03-22 22:36:12 +00:00
thorpej fa16de81c1 The raspberrypi,model-zero-w uses the same nvram config file as the
raspberrypi,3-model-b.
2020-03-22 22:17:11 +00:00
thorpej e36e7c169a Install the "bwfm" firmware for the Pinebook Pro. 2020-03-22 21:13:35 +00:00
thorpej 4886cefda0 Add new bwfm firmware binaries and config files. Only install the
SDIO firmware binaries and platform-specific config files on platforms
where they're relevant.
2020-03-22 20:21:53 +00:00
ad 5de49fc7c2 Wrap vnode_impl.h in defined(_KERNEL) || defined(_KMEMUSER), and install
it for kmem grovellers.
2020-03-22 14:27:33 +00:00
tsutsui 608bd4460c Add "build.sh live-image" support for hpcarm.
Tested on WS003SH.
See also PR/55075 for live-image with FAT partition support.
2020-03-21 14:25:49 +00:00
tsutsui d9d42379c6 Add "build.sh live-image" support for zaurus.
Tested on SL-C3000 and SL-C700.
See also PR/55075 for live-image with FAT partition support.
2020-03-21 14:24:12 +00:00
tsutsui 2b0ec46162 Add "live-image with a FAT partition for bootstrap files" support.
See PR/55075 for more details.
2020-03-21 14:19:26 +00:00
rin fe3b3a2843 Catch up with major bump in terminfo. Unbreak build. 2020-03-16 10:02:47 +00:00
skrll 73cad4db9c hopefully fix builds 2020-03-14 06:39:20 +00:00
roy aadfdb111b terminfo: promote numeric parameters from short to int
POSIX mandates implementations must support upto a short but may exceed it.
When NetBSD terminfo was implemented, no terminfo description used over
a short, but because ncurses has supported ints for some time, some now do.

Infact, such a terminfo description was imported where colour pairs for
screen-256color went up to 65536 which exposed a bug in the existing
implementation where it set to zero. Because the number might mean
something more than a range, we need to be able to store it accurately.

This requires a version bump because whilst the API hasn't changed thanks
to C int promotion, the ABI has. Also the underlying database structure
has changed as well - we now store the numeric paramter inside a uint32_t
field rather than a uint16_t one.
Whilst this change can still read the old style database, the old one
cannot read the new one and thus we now maintain the database as
terminfo2.cdb, leaving the old library and database alone so old programs
still work fine.

libcurses, libfrom, libmenu and libpanel have also been bumped to
accomoate this change.
2020-03-13 15:19:24 +00:00
pgoyette e135ca8390 Add new netbsd32 quota modules to sets lists 2020-03-12 15:04:13 +00:00
skrll fcbc11fb45 Fixup the evbarm PCI modules 2020-03-11 08:31:08 +00:00
christos 7aea3fca18 wrong test name 2020-03-09 02:22:20 +00:00
mgorny 43b5dbaaaf Update libc SOVERSION 2020-03-08 22:42:35 +00:00
mgorny 5fb02e28e8 Add tests for missing libc catalog entries 2020-03-08 22:08:46 +00:00
christos 40bc2ecca0 new test for ifconfig 2020-03-08 17:23:55 +00:00
skrll 304e3f3f2c Fix sets 2020-03-08 15:21:15 +00:00
uki 96f142dc63 Delete unavailable package from attrs 2020-03-07 13:01:07 +00:00
kamil fe331b9d9e Add new ptrace(2) test file
t_ptrace_sigchld - for SIGCHLD handler + ptrace(2).

Right now a single test is enabled (raise(SIGKILL)) and marked as failed
as it never finishes as the child is never collected before exiting the
parent uninterested about its child (SA_NOCLDWAIT).
2020-03-06 18:32:35 +00:00
christos e13814a4fd fix pam annotations 2020-03-04 22:09:00 +00:00
christos f13dbbb9b4 add libfido2, libcbor, pam-u2f, sort 2020-03-03 00:38:12 +00:00
roy 00fb306ae0 ramdisk-zfsroot: Build with -D_REENTRANT
zpool(8) requires libhack built with it.
2020-03-02 16:04:49 +00:00
roy 1d37b848af libhack: revert prior, will be done per consumer instead. 2020-03-02 16:01:52 +00:00
roy 0d1a142685 libhack: build with -D_REENTRANT
Some tools that use libhack expect thread locking.
An example of this is zpool(8).

Without it, it randomly crashes. As such, force _REENTRANT to avoid
debugging future random crashes from any other applications which
rely on this.
2020-03-01 22:47:26 +00:00
christos a2362fee00 Redo the sshsk_sign() stuff properly, but putting the helper in libssh.so 2020-03-01 20:59:52 +00:00
skrll 9e9cdb30a4 if_ixl is MD 2020-02-29 18:46:12 +00:00
christos a04c941cc5 Deal with sshkey_sign. I am going to fix this properly at some point, but
it needs coordination from upstream (Patrick Welche)
2020-02-28 13:00:51 +00:00
yamaguchi 7b177b731a Make ixl(4) be able to build as a module 2020-02-27 06:30:55 +00:00
christos 9a26835b4c new openssh 2020-02-27 00:25:49 +00:00
kamil 64685cea19 Register groups.0 and users.0 in distribution sets
Fixes MKCATPAGES=yes build.
2020-02-26 16:12:44 +00:00
riastradh d823475ff2 kernfs no longer needs a hacky workaround to make rootdev appear. 2020-02-26 16:00:48 +00:00
riastradh e4d662933e Draft man pages for the standard users and groups.
These are currently listed in order of uid because I went through
src/etc/group and src/etc/master.passwd line by line, and sorting any
other way after the fact -- like lexicographically, how it should be
-- was kinda inconvenient.

Feel free to sort, add information, add historical references,
correct any mistakes, &c., so that these remain living documents
describing NetBSD's standard users and groups and practices around
them.
2020-02-26 07:31:51 +00:00
roy 7d5fdd89d0 ramdisk-zfsroot: Remove the module loading magic
It's been determined that it's too magical and it's either the job
of the bootloader or you compile it into the kernel yourself.

This entry works in /boot.cfg:

menu=Boot ZFS Root:load solaris;load zfs;fs /ramdisk-zfsroot.fs;boot
2020-02-25 20:05:10 +00:00
mrg ca82237625 updates for xkeyboard-config 2.29. 2020-02-23 11:17:03 +00:00
jmcneill 55db4fad0c RPi4 has a different root device, so use config.txt conditionals to load
an alternate cmdline txt file (cmdline-pi4.txt) on these boards.
2020-02-23 10:56:03 +00:00
roy a0b4f4b376 ramdisk-zfsroot: We no longer need to have /etc/zfs in mtree
Now that mountall doesn't rely on /etc/zfs/zpool.cache being present.
2020-02-23 10:51:12 +00:00
roy 896ddeb466 zfs: Allow modules to be loaded once in the ZFS chroot
Rather than copying the needed modules from FFS to the ramdisk,
load then directly from FFS instead.

This way, we can symlink ramdisk stand into /altroot and let nature take
it's course like loading firmware.

Set shell exit on error rather than using chained commands.
zpool import seems to SIGBUS randomly on amd64 and if we didn't do the
former then zpool would hang the init. Now at least we exit to the shell.
2020-02-23 05:15:54 +00:00
ad 284662e223 Add rw_lock_op(): return either RW_READER or RW_WRITER for a lock that is
known to be held by the caller.  Panic if the lock is not held.
2020-02-22 21:24:44 +00:00
roy 5403a7a7c1 zfs: build a ramdisk on amd64 with enough to mount rpool/ROOT on /
Until we get ZFS integrated into our boot loader, this is the next best
thing. The idea is simple - have a small FFS partition with a kernel,
modules and this ramdisk. Once the ramdisk boots it will mount the FFS
partition read only, copy the needed ZFS modules to the ramdisk and then
unmount the partition. Then we import the ZFS root pool, mount the
ZFS root filesystem and then pivot to it.

Because the initial FFS partition is not mounted at this point, we
can mount it in /altroot so we can replace the kernel and modules with
newer ones so it's easily maintainable.

This ZFS boot strapper currently makes the following assumptions:
 * The device NAME=boot is the FFS with kernel, modules and this ramdisk.
 * The ZFS root pool and root filesystem are called rpool/ROOT.

A boot.cfg menu entry can then be added like so:
menu=Boot ZFS root:fs /ramdisk-zfsroot.fs;boot
2020-02-22 09:53:47 +00:00
uki bc4050cada etc and modules packages should be preserve 2020-02-15 03:27:58 +00:00
uki b373ac9cc5 PR misc/46937: add modules package, from Lloyd Parkes. 2020-02-11 11:36:52 +00:00
martin 5dcf5b437a Add new test programs 2020-02-11 09:32:07 +00:00
isaki e758b536e1 Add ATF tests for audio(4).
91 passed test cases
    0 failed test cases.
    0 expected failed test cases.
    62 skipped test cases.

There are many skipped tests, because the test itself supports full-
duplex, half-duplex and uni-directional devices but pad(4) used in ATF
tests is uni-directional device.
2020-02-11 07:03:16 +00:00
riastradh d78835f01e Test that fpu state is preserved by fork. 2020-02-11 03:15:10 +00:00
jmcneill 428130a8e6 Retire azalia(4). 2020-02-09 16:06:17 +00:00
kamil bc3e03d8e1 Install LLVM sanitizers to /usr/lib/clang/9.0.0
This is the proper location where clang 9.0.0 looks for them.
2020-02-07 18:48:58 +00:00
thorpej 563163014b Add percpu_foreach_xcall(9). 2020-02-07 13:10:26 +00:00
uki 3c045c30bc Building X11 system packages by "build.sh syspkgs" 2020-02-06 12:36:38 +00:00
uki 52ffe2313c Fix incorrect package name in xcomp 2020-02-06 12:13:45 +00:00
kamil 771c425869 Port realpath(1) from FreeBSD
realpath(1) wraps realpath(3) and returns resolved physical path.

This utility shipped with GNU and FreeBSD is sometimes
used in scripts in the wild.
2020-02-02 21:49:43 +00:00
tsutsui fc9073f9fe Add MAX/MIN PAGE_SIZE and PAGE_SHIFT definitions of m68k for jemalloc(3).
Background:
- All m68k ports have fixed PAGE_SIZE value in their kernels,
  but each port uses different PAGE_SIZE value (4096 or 8192)
  due to historical reasons.
- Currently module(7) binaries are built per each port so
  all m68k kernel sources don't support run-time variable PAGE_SIZE.
- MI <uvm/uvm_param.h> assumes that the port supports a variable
  PAGE_SIZE on module(7) builds if both MAX_PAGE_SIZE and MIN_PAGE_SIZE
  are defined and they have different values.
- On the other hand, jemalloc(3) checks MAX_PAGE_SHIFT in
  src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
  for internal optimization.
- m68k ports share userland binaries (especially pkgsrc binaries)
  among all ports, so we need to define MAX_PAGE_SHIFT as 13 to
  support m68k ports where PAGE_SIZE==8192.
  (though this would affect only if static binaries built on
   4k page hosts are executed on 8k page hosts)

To solve these inconsistency on PAGE_SIZE definitions,
we should have an independent PAGE_SIZE related definitions
for userland, but it requires major reorganization.
For now (especially for netbsd-9) we define MAX/MIN PAGE_SIZE and
PAGE_SHIFT values in <m68k/vmparam.h> only in !defined(_KERNEL) case.

Discussed on source-changes-d@ and tech-kern@ with christos@ and thorpej@:
 https://mail-index.netbsd.org/source-changes-d/2020/01/thread1.html#012035
 https://mail-index.netbsd.org/tech-kern/2020/01/thread1.html#025954

Should be pulled up to netbsd-9.
2020-02-01 19:41:48 +00:00
riastradh d92a26fbe9 New function percpu_create.
Associates a constructor and destructor with the percpu.  Currently
the constructor runs immediately, but in principle we could use the
same API for future CPU hotplug support.

This lets you sleep for allocation or draining users before
deallocation when setting up or tearing down a percpu -- currently we
have many abuses of percpu_foreach in tree for that purpose.

Proposed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/30/msg026036.html
2020-02-01 12:49:02 +00:00
tsutsui c8cea24eea Add and enable dhcpcd for news68k installation.
news68k has already required two floppies since 9.0
so there is no popular demand to shrink ramdisk.
2020-02-01 06:02:00 +00:00
jmcneill bc2c80f256 Build radeonsi driver. 2020-01-31 20:56:03 +00:00
maya 5e031685d6 remove urio(4), a driver for the Rio500 MP3 player.
At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
2020-01-29 18:39:00 +00:00
christos 209f53364e bump a little for llvm 2020-01-29 16:24:21 +00:00
thorpej da7319bed1 Add <net/if_stats.h>. 2020-01-29 03:17:34 +00:00
christos 9284796821 grow for clang 2020-01-25 19:09:38 +00:00
roy 4bfa4dda38 These directories may not be installed for aarch64 2020-01-25 11:26:39 +00:00
uki 1edad8f421 Fix incorrect package name, lacked category prefix. 2020-01-25 00:12:42 +00:00
uwe 499393c223 Use -mdoc2html to generate HTML TOC to avoids warnings. 2020-01-23 23:59:53 +00:00
uwe 120b2450d3 Override HTML <title> to something more informative.
Requested by martin@
2020-01-23 23:56:07 +00:00
uwe e4fa1cc96e Use .Os NetBSD/\*M \*V to get more informative footer. 2020-01-23 23:34:47 +00:00
thorpej c718a72d76 I overlooked the esh(4) man page when removing HIPPI support; remove it
now.  Thanks maxv@ for noticing and pointing it out.
2020-01-22 14:01:50 +00:00
mlelstv 1e89c63a0f Was too slight a bump. 2020-01-21 14:58:58 +00:00
martin 85760d7e91 Bump image size slightly 2020-01-21 11:48:10 +00:00
taca 7f302b7b1d Revive entries for uyurex(4) as obsolete. 2020-01-21 03:29:56 +00:00
pgoyette 09a5fcaf68 Split the compat_50 module into two, separating the QUOTA-related
stuff from the rest of the module.  This allows loading of the
(main) compat_50 module on kernels that don't include ``options
QUOTA''.

Welcome to 9.99.40 !

Addresses PR kern/54875
2020-01-21 02:37:16 +00:00
thorpej 4541d6828b Remove FDDI support. 2020-01-20 18:38:17 +00:00
riastradh 08a157de6e Remove filemon(4).
Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings.  You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table.  (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)
2020-01-19 20:41:17 +00:00
thorpej ed469c22d6 Remove Token Ring support. 2020-01-19 20:00:35 +00:00
thorpej 332fd700ea Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.
2020-01-19 17:53:14 +00:00
martin 51bed8e97e Fix set lists after HIPPI removal 2020-01-19 10:50:25 +00:00
jmcneill 6c8891e8fa Build ati driver on evbarm. 2020-01-19 10:45:49 +00:00
thorpej 85654ec7a9 Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.
2020-01-19 06:55:21 +00:00
thorpej c1d9ec8d89 Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
2020-01-19 01:25:03 +00:00
jmcneill c91ab881ac Build radeon and nouveau drivers on evbarm. 2020-01-19 00:58:13 +00:00
kre a550fa2998 test ! -n "$foo" is just a quaint way of saying test -z "$foo"
and test ! -z "$foo" is really just test -n "$foo"  so let's just
use the simple (and more obvious) forms.

NFCI.
2020-01-19 00:57:00 +00:00
kre 11f716dcce The idiom
set $whatever
	while [ $# - gt 10 ]; do shift 10; done
	eval echo \$$#

fails when $# turns out to be 10 (or any multiple), it would need
to be instead

	while [ $# -ge 10 ]; do shift 9; done

but there hasn't been a shell that cannot handle ${10} (etc) correctly
in a very long time, so let's just use that instead (properly quoted,
in case IFS happens to contain a digit for some bizarre reason).

We should also "set -f" / "set +f" (or better, restore the prev setting of -f)
around the "set $whatever" part, but if that was ever going to cause a problem
here, it would have already, so leave that for now.
2020-01-19 00:50:25 +00:00
kre 657e82114e Move recently added .debug files from tests/mi to debug/mi (with all the
others) and while so doing, give them the "debug" attribute.

While here, sort.
2020-01-18 17:18:41 +00:00
christos a1e5957c5f fix names of debug files and missing directories 2020-01-17 20:14:39 +00:00
christos 22846ab0d9 remove trailing , 2020-01-17 19:44:12 +00:00
christos 8f8c9a1ff6 Add libarchive tests 2020-01-17 16:23:04 +00:00
maya 09ad70fb6c Remove uyurex(4).
This is a driver for a "nonsense machine" made by the art group Maywa-Denki
in 2008. It was disabled by default.

Unfortunately even so it draws development attention (flaws found in the
code, MP-ification needs) and it is best not to continue to maintain this
driver.

Proposed without objections on tech-kern.
2020-01-17 15:00:20 +00:00
kamil ee05bbd41a Document dlinfo(3)
Man-page taken from FreeBSD.
2020-01-13 08:25:02 +00:00
tsutsui b35929bc17 Fix "[: SMALL test, no fallback usage" error on miniroot installation.
Avoid and replace use of '-a', '(' and ')' operatos marked obsolescent
by modern POSIX.1-2017:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
as suggested by kre@ in PR/54835.

Should be pulled up to netbsd-9.
2020-01-12 03:56:14 +00:00
tsutsui 49eb82c34f Fix miniroot installation failure on network configuration. PR/54833
No particular comment in the PR.
Should be pulled up to netbsd-9.
2020-01-12 03:37:10 +00:00
martin 46aea08b01 PR install/54777: add dhcpcd to the install ramdisk 2020-01-09 20:07:46 +00:00
martin a879768d74 PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
2020-01-09 19:17:40 +00:00
skrll cb88287373 Use fat16 as the partition is too small for fat32. from Harold Gutch 2020-01-08 20:49:22 +00:00
martin 09fa017877 PR install/54836: fix broken conditional, passing the wrong set name suffix
to groff.
2020-01-05 18:37:54 +00:00
skrll 62f0c78c04 Use make_label_evbarm instead of home grown 2020-01-05 16:41:07 +00:00
skrll b1843f788e upstream_kernel=1 is required with new firmware/kernel. 2020-01-01 14:16:51 +00:00
ryo 6d2cfc2125 add support Aquantia AQC seriese 10G network adapters.
this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.
2020-01-01 10:11:21 +00:00
uki 6cb418f169 Done giving syspkg names without xorg_server_ver=110 2019-12-31 05:01:49 +00:00
uki 09a8769c6e Give syspkg name to macppc machine dependency files 2019-12-31 01:54:19 +00:00
uki 22f63fdf6d Give syspkg name to x68k machine dependency files 2019-12-31 01:20:06 +00:00
uki 469e7eba30 Fix incorrect obsolete package name 2019-12-30 05:37:19 +00:00
uki 23cdb66599 Give syspkg names to sparc machine dependency files 2019-12-30 05:36:51 +00:00
uki 57981cf58f Give syspkg name to sparc64 machine dependency files 2019-12-30 04:35:45 +00:00
christos 128e5f5e67 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
2019-12-29 18:26:16 +00:00
uki 62f03abadc Give syspkg names to machine dependency files in alpha 2019-12-29 07:31:36 +00:00
uki 71f15fcb7a give syspkg names to i386 machine dependencies files in x11 2019-12-29 03:00:35 +00:00
msaitoh bf613abd37 s/is is/is/ in comment. 2019-12-27 07:02:26 +00:00
maxv 87107185b5 Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
martin 7c2911b1d1 Do not populate /dev on CD images by default, instead rely on init
doing the tmpfs / MAKEDEV magic.
On images for machines with serious ram shortage (where the additional
tmpfs hurts, like VAX) override this with CDDEV_POPULATE=true.
Should fix PR port-amd64/54776.
2019-12-20 19:46:51 +00:00
maxv e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
christos 441814a01a bump 2019-12-18 02:35:59 +00:00
skrll 817923ee4d Update to new RaspberryPi firware
commit 0c01dbefba45a08c47f8538d5a071a0fba6b7e83
Author: popcornmix <popcornmix@gmail.com>
Date:   Wed Dec 11 15:30:08 2019 +0000

and include firmware for RPI4

Firmware has bee updated to support mainline linux kernels as described in
https://github.com/raspberrypi/linux/issues/3237
2019-12-16 11:00:30 +00:00
skrll 485e08e867 Fix whitespace in a comment 2019-12-16 08:01:20 +00:00
christos a7f52e3116 PR/54768: elo: Missing cksum(1) convenience links (and docs) for new sha2
functions.
2019-12-15 03:55:56 +00:00
ad 0c2afd2995 Include radixtree in the kernel. 2019-12-14 15:30:37 +00:00
yamaguchi a5e8635231 Ported driver for Intel Ethernet 700 series
reviewed by msaitoh and knakahara
2019-12-10 12:08:52 +00:00
riastradh 1ec67535be Add missing MLINK for membar_datadep_consumer(3).
Detected by the indefatigable wizd.
2019-12-07 15:13:59 +00:00
martin 1a3d08c0dd Copy -current to 9.0, this has diverged (macppc 601 support and others,
but since the macppc release ISOs are still generated by this, it is
important to catch up)
2019-12-05 10:25:41 +00:00
uwe f2508f9b07 "Administrivia" is a real word and it was used here on purpose. 2019-12-04 13:04:09 +00:00
jmcneill 06647ff168 Move dtrace_syscall_linux out of mi set list 2019-12-04 11:47:17 +00:00
wiz 52b618ba11 Fix some typos. 2019-12-04 09:25:43 +00:00
martin a49d552d05 For HEAD builds, add a small "bleeding edge" warning when we talk about
a rock solid OS.
2019-12-04 09:03:34 +00:00
uwe aa26f25feb Drop entries for "Scott Bartram and Frank van der Linden" and "the
University of Illinois at Urbana and their contributors".  They are
not referenced anywhere in the tree.
2019-12-03 16:45:21 +00:00
uwe 31368ac8e8 Add a comment to the entry for Computer Systems Laboratory at the
University of Utah.  It's missed by the extraction script b/c of the
non-standard formatting of the ad clause.
2019-12-03 16:43:16 +00:00
uwe bd0dbdcfab Move the entry for Caldera to its proper place in the sorting order. 2019-12-03 16:31:40 +00:00
uwe b2d134000f Use troff \(xx names for the few accented characters we have here.
Extraction script outputs them literally, but some of them are in
utf-8 and some in latin1.  While here also use \(:o for Bodo Moeller
name as instructed.  Lule\(oa is now emited by the extraction script
directly.

This gives us the right characters in PostScript and HTML output.  In
text output they are transliterated with -mtty-char.
2019-12-03 16:27:24 +00:00
uwe 7e907697d9 Translate Lule} to troff's Lule\(oa. 2019-12-03 16:21:34 +00:00
uwe cce91f5368 Add xsrc to the invocation example. 2019-12-03 13:42:55 +00:00
uwe ab5a626071 Drop the final quote if followed by dot. 2019-12-03 13:41:56 +00:00
uwe 7371cc32a8 Fix the enry for Computer Systems Laboratory at the University of Utah
and move it to its proper place in the sorting order.
2019-12-03 10:51:46 +00:00
uwe 46a3914153 Move the entry for CMU Computing Services to its proper place in the
sorting order.  Add more ad clauses from CMU ppp code.
2019-12-03 10:46:40 +00:00
uwe e8aaa3b2f5 Recognize ad clause in CMU PPP and some OpenSSL code.
Use "n" (grouping doesn't capture) when matching $ack* regexps to
alleviate performance hit a bit.
2019-12-03 09:56:21 +00:00
hikaru 068d6bf691 Add HMAC-SHA-{256,384,512} test cases. 2019-12-03 04:20:45 +00:00
uwe ea34d7b41d Special-case badly worded ad clause in src/sys/lib/libkern/rngtest.c 2019-12-03 02:10:26 +00:00
uwe ccdc65b377 This product includes software developed by Ravikanth. 2019-12-03 01:56:10 +00:00
uwe 64c20d4153 Fix typo in regexp to detect m4 comments. 2019-12-03 01:52:04 +00:00
uwe 0872d76458 Swap Per Fogelstrom entries. Missed in previous. 2019-12-03 01:43:11 +00:00
uwe 7e9424eb0d Detect more ad clauses, pick more duplicates.
If there are notices that differ in the final dot, prefer the version
with the dot.  Sort "by the" enries after all other "by Name" entries.
With the corresponding re-ordering of the legal.common the output of
this script is getting useful again.
2019-12-03 01:24:45 +00:00
uwe 107fa5c59f Sort entries "by Foo." before "by Foo and" etc. Sort the section with
"for the NetBSD" notices that had a lot of entries out of order.  Drop
final dots that are not in any of the required notices to reduce diff
with the script output.
2019-12-03 01:19:33 +00:00
uwe 2d4bfb66c3 Move entries with short first line that ends with "by" to their proper
places in the sorting order.
2019-12-03 00:23:25 +00:00
uwe 8004fb8293 Restore entries for "K. Kobayashi" and "K. Kobayashi and H. Shimokawa".
The script missed them as it was confused by the slighly non-standard
license wording.  My apologies.
2019-12-02 23:30:32 +00:00
uwe ae815e026f Restore the entry for Yasushi Yamasaki - it comes from xsrc,
my apologies.
2019-12-02 23:27:52 +00:00
uwe f6b6bf571c Drop the entry for "University of California, Berkeley and its
contributors, as well as the Trustees of Columbia University" that was
required by the ad clause in external/bsd/am-utils/dist/COPYING.
The ad clause was dropped in the versions we have since netbsd-8.
2019-12-02 22:14:21 +00:00
uwe beefab5d87 Don't use an undefined variable. 2019-12-02 21:54:33 +00:00
uwe a77838ef2b Drop the entry for Yasushi Yamasaki. Nothing in the tree requires it. 2019-12-02 20:57:17 +00:00
uwe 0d5c8933d7 Move the entry for Kyma Systems to its proper place in the sorting order. 2019-12-02 20:49:25 +00:00
uwe 42aa963612 Drop the entry for David Muir Sharnoff. It was for expn(1) script in
am-utils that was never installed and is no longer there since netbsd-8.
2019-12-02 20:18:45 +00:00
uwe 4229c38b7a Drop the entry for Thomas Gerner.
thomas@ dropped clauses 3 and 4 from his license back in 2009 and the
entry was dropped from here, but a copy was forgotten in the atari
port-specific legal file and merged back here in 2015.
2019-12-02 20:03:33 +00:00
uwe 230bde47db Drop the entry for Texas A&M University.
Nothing in the tree has its ad clause.
2019-12-02 19:48:47 +00:00
uwe ec945db285 Move the entry for Matthew Fredette to its proper place in the sorting order. 2019-12-02 19:35:00 +00:00
uwe 5261ee5a30 Drop entries for "K. Kobayashi" and "K. Kobayashi and H. Shimokawa"
that are no longer referenced in tree.
2019-12-02 17:28:36 +00:00
uwe 1fa308e202 Add entry for Cisco for the SCTP code. 2019-12-02 17:23:23 +00:00
uwe ebd7d89561 Add entry for Ben Gray. 2019-12-02 17:17:09 +00:00
uwe 789ad60c12 Fix ISO-646-SE spelling of Lule\[oa]. 2019-12-02 16:59:28 +00:00
uwe 8fee4a2c4e Collapse multiple spaces in an entry (doesn't affect sorting). 2019-12-02 16:43:06 +00:00
uwe 3ffd2d7f5f Move the entry for Mika Kortelainen to its proper place in the sorting
order after fixing multiple spaces.
2019-12-02 16:41:35 +00:00
uwe 35f6392257 Collapse multiple spaces between words.
There are a few entries with "by__Name" that affects sorting.
2019-12-02 16:38:37 +00:00
uwe 62999bb137 Move Intel's entry to its proper place in the sorting order. 2019-12-02 16:35:18 +00:00
jmcneill 19487d1aef Remove the pretty much useless 128MB swap partition from the arm images. 2019-12-01 15:07:04 +00:00
pgoyette 22f5562b74 Add the new unit-tests for make(1) to the sets list, fixing the build. 2019-11-30 04:06:22 +00:00
uwe 3a8509388f Improve table of contents.
For .txt and .more drop meaningless page numbers, those formats are
not paginated (with all due respect to line printers, 80s are over).

For .ps use actual formatting with proportional font and properly
aligned page numbers.  Thanks to kre@ for his help with some of the
darker corners of troff (with all due respect to my 80s self, he/I
should have paid more attention).
2019-11-30 00:28:27 +00:00
riastradh 845417da2c Missed another spot.
Marked mb.9 obsolete but forgot to mark mb_memory.9 &c. too.
2019-11-30 00:02:15 +00:00
riastradh 86f9decda4 New atomic load/store operations for the kernel.
Guarantee no fusing and no tearing, and can optionally impose
ordering relative to other memory operations.

Unordered:
- atomic_load_relaxed
- atomic_store_relaxed

Ordered:
- atomic_load_acquire
- atomic_load_consume
- atomic_store_release

These are intended to match C11 semantics, and can be defined in
terms of the C11 atomic API when ready.
2019-11-29 22:17:23 +00:00