Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (4m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 20:26:53 UTC Now

2021-06-09 21:09:20 UTC MAIN commitmail json YAML

remove the kill in the trace code.

(christos)

2021-06-09 21:08:56 UTC MAIN commitmail json YAML

remove not required include files

(christos)

2021-06-09 20:48:37 UTC MAIN commitmail json YAML

1. Preallocate the patterns so that out of memory conditions don't happen
  during their allocation, which the test cannot handle properly.
2. Enable building the test without atf so that we can easily debug with
  atf memory allocations interfering
3. Add memory tracing (disabled)

(christos)

2021-06-09 19:47:29 UTC netbsd-9 commitmail json YAML

2021-06-09 19:46:20 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1284):

external/bsd/libpcap/bin/Makefile: revision 1.3

Fix pcap-config --libs output

(martin)

2021-06-09 15:49:58 UTC MAIN commitmail json YAML

Welcome to NetBSD 9.99.84 (bpf tracking changes)

(martin)

2021-06-09 15:44:15 UTC MAIN commitmail json YAML

Add a bpf_register_track_event() function (and deregister equivalent)
that allows a driver to track listeners attaching/detaching from tap
points.

This is usefull for drivers that would have to do extra work for some
taps and can not easily decide (at the driver level) if the work would
be needed further up the stack.

An example is providing radiotap headers for IEEE 802.11 frames.

(martin)

2021-06-09 15:38:40 UTC MAIN commitmail json YAML

Add a (FreeBSD compatible) bpf_peers_present() predicate to allow
testing for active listeners on a tap.

(martin)

2021-06-09 15:15:35 UTC MAIN commitmail json YAML

Work around abs rela relocations issue (for now):

$ readelf -r compat_linux
...
Relocation section '.rela.data' at offset 0x37270 contains 537 entries:
Offset          Info          Type          Sym. Value    Sym. Name + Addend
...
000000000040  000000000001 R_X86_64_64                          0
000000000048  000000000001 R_X86_64_64                          0
...

$ objdump -r compat_linux
...
RELOCATION RECORDS FOR [.data]:
OFFSET          TYPE              VALUE
...
0000000000000040 R_X86_64_64      *ABS*
0000000000000048 R_X86_64_64      *ABS*
...

Since those have symidx == 0, and the 0 symbol table entry is special,
treat them as SHN_ABS.

Change ENOENT -> ENOEXEC to avoid confusion (like other linking errors),
and add some debugging when that happens.

(christos)

2021-06-09 14:49:13 UTC MAIN commitmail json YAML

ossaudio(3): continue getting capabilities if AUDIO_GETFORMAT fails

we want this to work on mixer devices too

(nia)

2021-06-09 07:25:57 UTC MAIN commitmail json YAML

Add some acceleration using the P9100 quad and blit commands:
- for solid fill (quad)
- for pixmap copy (blit) when source and destination pitch are the same

(jdc)

2021-06-09 06:00:16 UTC MAIN commitmail json YAML

vfork.2: clarify posix_spawn recommendation, pointed out by kre

(nia)

2021-06-08 19:26:48 UTC MAIN commitmail json YAML

ossaudio(3): nested switch statements are hard to read, refactor

(nia)

2021-06-08 18:43:54 UTC MAIN commitmail json YAML

2021-06-08 16:15:12 UTC MAIN commitmail json YAML

vfork.2: recommend posix_spawn instead

(nia)

2021-06-08 13:01:10 UTC netbsd-8 commitmail json YAML

2021-06-08 12:59:32 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1683):

sbin/dump/tape.c: revision 1.56

Bitmaps (TS_BITS and TS_CLRI) dont use the "c_addr" array as they
cannot have holes.  As bitmaps are written without TS_ADDR records
"c_count" may be larger than the "c_addr" size resulting in a
segmentation violation reading "c_addr" beyond its end.

Compute "blks" for TS_INODE and TS_ADDR only -- its used for multi
volume dumps and the bitmaps must both be on the first volume.

(martin)

2021-06-08 12:56:29 UTC netbsd-9 commitmail json YAML

2021-06-08 12:55:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1283):

sbin/dump/tape.c: revision 1.56

Bitmaps (TS_BITS and TS_CLRI) dont use the "c_addr" array as they
cannot have holes.  As bitmaps are written without TS_ADDR records
"c_count" may be larger than the "c_addr" size resulting in a
segmentation violation reading "c_addr" beyond its end.

Compute "blks" for TS_INODE and TS_ADDR only -- its used for multi
volume dumps and the bitmaps must both be on the first volume.

(martin)

2021-06-08 10:02:04 UTC MAIN commitmail json YAML

Document NFSSVC_REPLACEEXPORTSLIST instead of NFSSVC_SETEXPORTSLIST.

The latter is deprecated and kept only for backwards compatibility.

(hannken)

2021-06-08 09:46:04 UTC MAIN commitmail json YAML

audio(4): Revert revision 1.96 and redo it another way.

Instead of refusing to open /dev/audioN for writes when the device
doesn't support playback, just refuse to issue writes.

Although it seems more sensible to me to reject writable opens early
on, and it seems Solaris does so, this makes querying device
properties a little trickier and is a change to the NetBSD semantics.

(riastradh)

2021-06-08 09:09:29 UTC MAIN commitmail json YAML

pad(4): run the callout if the buffer is saturated instead of returning

reverts to the same behavior as in -8 and -9. prevents immediate failures
and device timeouts if there's a slight delay in the buffer being
consumed.

this is reproducible with the example in the man page that uses
ffmpeg to record the output of audioplay:

$ ffmpeg -f s16le -ar 44100 -ac 2 -i /dev/pad0 output.wav
$ audioplay -d /dev/audio1 input.wav

if output.wav already exists, ffmpeg will prompt for confirmation
to overwrite as soon as audioplay starts, causing a noticable delay,
followed by a write failure that causes audioplay to immediately
exit.

(nia)

2021-06-07 22:13:34 UTC MAIN commitmail json YAML

In ping6, there's no blank space in the ping packets by default.

- document that if you use -p to specify a fill pattern you need to
make the packets bigger with -s;

- warn if -p is used and there's not at least one byte of fill space.

PR 56057

(dholland)

2021-06-07 21:44:35 UTC MAIN commitmail json YAML

Teach mount_chfs to understand -o. From Andrius V.

(dholland)

2021-06-07 20:27:59 UTC MAIN commitmail json YAML

Whilst debugging the nbmakeinfo tool on an OpenBSD box, I noticed
two changes in OpenBSD's makeinfo sources. One addresses an out of bounds
access issue and the other an off-by-one issue.

Fixes PR toolchain/56179. Reviewed by christos.

(cjep)

2021-06-07 17:11:17 UTC MAIN commitmail json YAML

2021-06-07 16:37:34 UTC MAIN commitmail json YAML

2021-06-07 15:52:08 UTC MAIN commitmail json YAML

PR/56223: David Shao ^[]8;;^G make console unresponsive. From OpenBSD:
In `string' state, accept bell (^G) as an end of sequence in addition to
`ESC \', as supported by xterm; some third-party software such as
ncmpcpp rely upon this.

(christos)

2021-06-07 14:24:42 UTC MAIN commitmail json YAML

2021-06-07 14:07:32 UTC MAIN commitmail json YAML

Bitmaps (TS_BITS and TS_CLRI) dont use the "c_addr" array as they
cannot have holes.  As bitmaps are written without TS_ADDR records
"c_count" may be larger than the "c_addr" size resulting in a
segmentation violation reading "c_addr" beyond its end.

Compute "blks" for TS_INODE and TS_ADDR only -- its used for multi
volume dumps and the bitmaps must both be on the first volume.

(hannken)

2021-06-07 11:45:35 UTC MAIN commitmail json YAML

Add more information for the malloc failure.

(christos)

2021-06-07 09:46:46 UTC cjep_sun2x commitmail json YAML

2021-06-07 09:45:55 UTC cjep_sun2x commitmail json YAML

font library combinations

(cjep)

2021-06-07 05:29:22 UTC MAIN commitmail json YAML

Don't overwrite changed autofs config files.

(mlelstv)

2021-06-07 03:04:50 UTC MAIN commitmail json YAML

Mention in ums(4) that a lot of usb mice detach/reattcah when not in use.

Prompted by PR 56209 but not related to the actual problem there.

(dholland)

2021-06-06 20:30:55 UTC cjep_sun2x commitmail json YAML

src/bin/ps/ps.1@1.110.6.1 / diff / nxr@1.110.6.1
src/bin/ps/ps.c@1.93.6.1 / diff / nxr@1.93.6.1
src/distrib/amd64/installimage/Makefile@1.16.4.1 / diff / nxr@1.16.4.1
src/distrib/common/bootimage/Makefile.bootimage@1.26.4.1 / diff / nxr@1.26.4.1
src/distrib/sets/lists/man/mi@1.1720.2.1 / diff / nxr@1.1720.2.1
src/distrib/sets/lists/tests/mi@1.1054.2.1 / diff / nxr@1.1054.2.1
src/external/gpl3/gcc/lib/libbacktrace/arch/mipsn64el/config.h@1.1.4.1 / diff / nxr@1.1.4.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/c++config.h@1.1.4.1 / diff / nxr@1.1.4.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/symver-config.h@1.1.4.1 / diff / nxr@1.1.4.1
src/external/gpl3/gcc/usr.bin/gcc/arch/mipsn64el/auto-host.h@1.1.4.1 / diff / nxr@1.1.4.1
src/external/gpl3/gcc/usr.bin/gcc/arch/mipsn64el/configargs.h@1.1.4.1 / diff / nxr@1.1.4.1
src/external/gpl3/gcc/usr.bin/libcpp/arch/mipsn64el/config.h@1.1.4.1 / diff / nxr@1.1.4.1
src/external/gpl3/gdb/dist/gdb/aarch64-nbsd-tdep.c@1.7.4.1 / diff / nxr@1.7.4.1
src/external/mit/xorg/bin/beforelight/Makefile@1.3.36.1 / diff / nxr@1.3.36.1
src/external/mit/xorg/bin/cxpm/Makefile@1.2.36.1 / diff / nxr@1.2.36.1
src/external/mit/xorg/bin/ssh-askpass/Makefile@1.3.52.1 / diff / nxr@1.3.52.1
src/external/mit/xorg/bin/sxpm/Makefile@1.2.36.1 / diff / nxr@1.2.36.1
src/external/mit/xorg/bin/viewres/Makefile@1.3.36.1 / diff / nxr@1.3.36.1
src/external/mit/xorg/bin/x11perf/Makefile@1.4.10.1 / diff / nxr@1.4.10.1
src/external/mit/xorg/bin/xauth/Makefile@1.8.4.1 / diff / nxr@1.8.4.1
      :
(more 110 files)
sync with head

(cjep)

2021-06-06 18:37:20 UTC MAIN commitmail json YAML

also reset xs->xs_xr[dci] to NULL when closing the pipe

avoids KASSERT() on next xhci_open()

should fix PR kern/56194 by nia

(jdolecek)

2021-06-06 13:59:48 UTC MAIN commitmail json YAML

Don't reset MACHINE_ARCH; it can be mipsn64el now, and we need to be able
to find the compiler.

(christos)

2021-06-06 11:48:55 UTC MAIN commitmail json YAML

Fail open when ipmi device was found.
Clear sc_envsys on failure to prevent double-free.

(mlelstv)

2021-06-06 11:35:22 UTC MAIN commitmail json YAML

Fix build failure on i386.

(nonaka)

2021-06-06 10:40:14 UTC MAIN commitmail json YAML

Provide missing file ops. Before a simple read() would panic the kernel.
No longer fail close().

(mlelstv)

2021-06-06 10:39:10 UTC MAIN commitmail json YAML

Schedule command timeout without connection lock being held to prevent
a deadlock.

(mlelstv)

2021-06-06 08:45:18 UTC MAIN commitmail json YAML

amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD.

(nonaka)

2021-06-06 05:06:44 UTC MAIN commitmail json YAML

Fix for PR lib/56224
Correct addstr behaviour so it truncates the string in the case where
a string is added on the bottom line of a window where scrolling is
disabled as per the SUSv2 specification.

(blymn)

2021-06-06 04:59:36 UTC MAIN commitmail json YAML

New check files added for the libcurses addstr test.

(blymn)

2021-06-06 04:57:58 UTC MAIN commitmail json YAML

New tests and updates for corrected behaviour due to fix for PR56224
* Added extra testing to the addstr test to demonstrate bug described
  in PR#56224 and validate case when scrolling enabled still works.
* Fixed slk test, the slk_init output changed due to corrected wrapping,
  slk_restore no longer returns ERR probably due to addwchar no longer
  returning ERR when an implicit scroll was attempted when scrolling
  disabled.  Commented out the slk_wset test, this is now returning ERR
  instead of misbehaving, needs investigation.

(blymn)

2021-06-06 01:09:08 UTC MAIN commitmail json YAML

2021-06-05 22:45:03 UTC MAIN commitmail json YAML

2021-06-05 22:26:51 UTC MAIN commitmail json YAML

Use the libsa dev_net.c (fixes the build since this defined netmask
which has moved to a different file in libsa).

(christos)

2021-06-05 22:21:15 UTC MAIN commitmail json YAML

As with usbverbose and pciverbose, these modules are not safe to be
auto-unloaded.  Disable for now.

All of these need to be updated with an appropriate refcount mechanism
to ensure that the code and/or tables aren't unloaded while they are
being used.

(pgoyette)

2021-06-05 22:17:15 UTC MAIN commitmail json YAML

New check file for libcurses clear test.

(blymn)

2021-06-05 21:38:37 UTC MAIN commitmail json YAML

Make this compile again; there is no SPL_SOFT, so use SPL_SOFTBIO. This
does not matter since we don't do __HAVE_FAST_SOFTINTS...

(christos)

2021-06-05 21:24:17 UTC MAIN commitmail json YAML

2021-06-05 14:28:28 UTC MAIN commitmail json YAML

2021-06-05 10:58:28 UTC netbsd-8 commitmail json YAML

2021-06-05 10:57:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1682):

sys/dev/pci/if_iwmreg.h: revision 1.8

Can't left shift a signed int by 31. Found by kubsan.

(martin)

2021-06-05 10:56:18 UTC netbsd-9 commitmail json YAML

2021-06-05 10:51:41 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1282):

sys/dev/pci/if_iwmreg.h: revision 1.8

Can't left shift a signed int by 31. Found by kubsan.

(martin)

2021-06-05 10:41:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1681):

distrib/miniroot/install.sub: revision 1.60

Handle recent ifconfig(8) outputs in the miniroot installation script.

- Remove netmask slash notation for IP addresses,
  which has been changed between NetBSD 7.x and 8.0:
  http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ifconfig/af_inet.c#rev1.24

- Ignore inet6 entries, which miniroot scripts don't support

Should be pulled up to netbsd-9 and netbsd-8.

(martin)

2021-06-05 10:40:09 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1281):

distrib/miniroot/install.sub: revision 1.60

Handle recent ifconfig(8) outputs in the miniroot installation script.

- Remove netmask slash notation for IP addresses,
  which has been changed between NetBSD 7.x and 8.0:
  http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ifconfig/af_inet.c#rev1.24

- Ignore inet6 entries, which miniroot scripts don't support

Should be pulled up to netbsd-9 and netbsd-8.

(martin)

2021-06-05 10:37:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1680):

sys/arch/hp300/conf/INSTALL: revision 1.67
sys/arch/hp300/conf/INSTALL: revision 1.68

Add missed 'nhpib at intio' for internal HP-IB.  Found on testing HPDisk.
Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.

Reduce maxusers to 8 as GENERIC.
Should be pulled up to netbsd-9 and netbsd-8.

(martin)

2021-06-05 10:35:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1280):

sys/arch/hp300/conf/INSTALL: revision 1.67
sys/arch/hp300/conf/INSTALL: revision 1.68

Add missed 'nhpib at intio' for internal HP-IB.  Found on testing HPDisk.
Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.

Reduce maxusers to 8 as GENERIC.
Should be pulled up to netbsd-9 and netbsd-8.

(martin)

2021-06-05 10:27:10 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1279):

sys/arch/arm/arm32/arm32_boot.c: revision 1.42
sys/arch/arm/arm32/arm32_boot.c: revision 1.43

G/C

-

Mirror the changes around passing pages to UVM in aarch64_machdep.c:

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
  (bp_end) after the bootconfig.dram (outer loop) range start (start).
  This was harmless as a later condition correctly checks there is only
  something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
  been passed to UVM.  This fixes a boot problem for simon@

Copy a comment over and do the VPRINTF before the uvm_page_physload in
the same way as aarch64_machdep.c as well.

(martin)

2021-06-05 08:26:34 UTC MAIN commitmail json YAML

Fix typo, its the element not the array ...

(hannken)

2021-06-05 06:40:59 UTC MAIN commitmail json YAML

Use the correct pathname when cleaning up the inner mount on test
failure.  Fixes the ATF crash reported in PR bin/56221, but not
the issue causing the test to fail in the first place.

(gson)

2021-06-05 06:23:48 UTC MAIN commitmail json YAML

Convert % into %% in input string so printf won't barf

(blymn)

2021-06-05 06:13:37 UTC MAIN commitmail json YAML

Decouple the clear test from the addstr test, they should not be linked
together because they are not really related.

(blymn)

2021-06-05 06:11:09 UTC MAIN commitmail json YAML

2021-06-05 02:27:08 UTC MAIN commitmail json YAML

hpcfb_cnattach(): If fbconf == NULL, this is for early console output
(used for hpcmips/VR41xx machines), and wsdisplay_preattach() should be
used instead of wsdisplay_cnattach().

Fix KASSERT failure for double attach of wsdisplay, reported in port-mips.

(rin)

2021-06-05 01:40:53 UTC MAIN commitmail json YAML

2021-06-05 01:38:22 UTC MAIN commitmail json YAML

amdzentemp(4): Add Zen 3 support.

(nonaka)

2021-06-04 23:07:39 UTC MAIN commitmail json YAML

Fix debug_test so it actually works and does not do damage
* disable blind clearing of /tmp.  The comment says this is needed for getwin/putwin
  those tests need to be looked at to correct this.
* remove invalid -I option from director arguments for now.
* fix paths to executables so debug_test will work with installed versions by default
  the previous version was using the src tree locations but basedir was wrong for that.

(blymn)

2021-06-04 22:41:36 UTC MAIN commitmail json YAML

mount_chfs(8): Remove some vestiges of chewiefs name.

Add RCS id while here and nix some needless whitespace.

No functional change intended.

Patch from Andrius V.

(riastradh)

2021-06-04 22:39:41 UTC MAIN commitmail json YAML

use parsenum like everywhere else in the code.

(christos)

2021-06-04 21:12:10 UTC MAIN commitmail json YAML

lint: fix function name in check for getopt

No functional change.

(rillig)

2021-06-04 20:54:18 UTC MAIN commitmail json YAML

lint: fix typo in comment

(rillig)

2021-06-04 17:12:08 UTC MAIN commitmail json YAML

Consistently use #define<tab> as rdreg.h.

(tsutsui)

2021-06-04 17:09:36 UTC MAIN commitmail json YAML

Check and remove a stale work file for UEFI images with incorrect size.

Fixes PR/56132 (build.sh target install-image fails in update-mode).

(tsutsui)

2021-06-04 15:37:48 UTC MAIN commitmail json YAML

2021-06-04 14:00:17 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1278):

sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.50
sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.60
sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.61

G/C

-

More debug

-

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
  (bp_end) after the bootconfig.dram (outer loop) range start (start).
  This was harmless as a later condition correctly checks there is only
  something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
  been passed to UVM.  This fixes a boot problem for simon@

(martin)

2021-06-04 12:43:14 UTC MAIN commitmail json YAML

actually, an anchor is needed so the period is appended

(nia)

2021-06-04 12:29:33 UTC MAIN commitmail json YAML

remove empty anchor text

(nia)

2021-06-04 12:12:02 UTC MAIN commitmail json YAML

re-order initial sections in the order a user is likely to be able
to address them. add a section on NPF. attempt to make various things
easier to find.

(nia)

2021-06-04 11:56:47 UTC MAIN commitmail json YAML

2021-06-04 11:55:45 UTC MAIN commitmail json YAML

Remove the warning about autoselecting nfs based on : or @.

Ok jmcneill@, mrg@.

(simonb)

2021-06-04 11:48:18 UTC MAIN commitmail json YAML

adjust layout of afterboot(8) to make things easier to find

(nia)

2021-06-04 11:33:19 UTC MAIN commitmail json YAML

capitalization police, etc

(nia)

2021-06-04 11:18:31 UTC MAIN commitmail json YAML

2021-06-04 10:56:55 UTC MAIN commitmail json YAML

2021-06-04 10:48:07 UTC MAIN commitmail json YAML

Test "mountdhup" has to pass now.

(hannken)

2021-06-04 10:46:57 UTC MAIN commitmail json YAML

Change get_exportlist() to collect all exports and emit all
exports for a single mount in one call to nfssvc(2).

Should finally fix PR kern/5844 (NFS server sends "permission denied"
while mound re-read exports).

(hannken)

2021-06-04 10:46:11 UTC MAIN commitmail json YAML

Sprinkle a few VMSWAP_DEFAULT_PLAINTEXT for architectures where we do not
have any spare cpu cycles to waste (encrypted swap still could be
enabled by the admin in /etc/sysctl.conf).

(martin)

2021-06-04 10:46:01 UTC MAIN commitmail json YAML

Restructure do_nfssvc() and simplify the left cases GT_HOST and GT_NET.

Add a helper add_export_arg() that emits a single export_args item and
does the IPv6 check.
Always use the path of the mount point for the export.

(hannken)

2021-06-04 10:44:59 UTC MAIN commitmail json YAML

Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call.

Works like NFSSVC_SETEXPORTSLIST but supports "mel_nexports > 1"
and will atomically update the complete exports list for a file system.

(hannken)

2021-06-04 08:57:05 UTC MAIN commitmail json YAML

audio(4): When closing /dev/audioN, drain before removing from list.

Previously, in revision 1.100, I factored the SLIST_REMOVE out of
audio_unlink and audio_close up into audioclose since it is now used
by /dev/audio, /dev/audioctl, and /dev/mixer alike.  But I didn't
realize that the order

1. audio_track_drain
2. SLIST_REMOVE from sc_files

was significant; it matters because audio_track_drain waits for
wakeups that are delivered by hardware interrupts only to files
listed in sc_files.

This also fixes a bug introduced with the audiobell -- it was missing
the SLIST_REMOVE altogether.

For now, duplicate the SLIST_REMOVE calls in a few more places --
this is suboptimal but I want to make sure the logic works before
factoring it all out to tidy up.

(riastradh)

2021-06-04 08:17:53 UTC MAIN commitmail json YAML

Sort options in usage.

(wiz)

2021-06-04 08:16:14 UTC MAIN commitmail json YAML

Sort options in synopsis.

(wiz)

2021-06-04 06:28:42 UTC MAIN commitmail json YAML

PR standards/11223

Add -G to take a single group argument heading towards POSIX.2 compliance.
Patch from jperkin and reviewed by simonb.

(cjep)

2021-06-04 01:58:02 UTC MAIN commitmail json YAML

Fix some badly-aligned line continuation escapes.

(thorpej)

2021-06-04 01:42:14 UTC MAIN commitmail json YAML

Add missing nbsd_init_abi() call to aarch64_nbsd_init_abi().

Fix tests/usr.bin/gdb/t_regress:pie on aarch64eb (types of auxv was
misinterpreted), and hopefully other strange behaviors on aarch64{,eb}.

This is a regression introduced in GDB11. Neither gdb.old nor release
branches are affected.

(rin)

2021-06-03 20:18:06 UTC MAIN commitmail json YAML

uvm(9): Enable swap encryption by default.

For machines where the performance impact of swapping before the
system has an opportunity to process `vm.swap_encrypt=0' in
/etc/sysctl.conf, you can disable it again by adding

options VMSWAP_DEFAULT_PLAINTEXT

to the kernel config.

(riastradh)

2021-06-03 20:17:37 UTC MAIN commitmail json YAML

PR/56230: Jan-Benedict Glaw: arm oabi does not and will not have ifunc support.

(christos)

2021-06-03 15:59:04 UTC MAIN commitmail json YAML

2021-06-03 15:40:27 UTC MAIN commitmail json YAML

Make adiantum a first class citizen

(prlw1)

2021-06-03 13:16:42 UTC MAIN commitmail json YAML

Fix typo, caught by riastradh

(wiz)

2021-06-03 10:23:33 UTC MAIN commitmail json YAML

use fetch_*() for I/O with SMALLPROG / !WITH_SSL builds

Adapt the SMALLPROG / -UWITH_SSL build to also use the fetch_*()
methods from ssl.c, instead of using stdio, as stdio isn't robust
when using interruptable signals.

Disable ssl-specific support in the fetch_*() methods if WITH_SSL
isn't defined, so SMALLPROG still doesn't have ssl support (as expected).

The resulting SMALLPROG binary is slightly larger than before
(e.g., 157KiB vs 153KiB on amd64).

Set version to 20210603 for this fix and the SO_KEEPALIVE fix for PR 56129.

PR install/56219

(lukem)

2021-06-03 10:18:30 UTC cjep_sun2x commitmail json YAML

2021-06-03 10:11:00 UTC MAIN commitmail json YAML

set SO_KEEPALIVE on control connection

Attempt to prevent timeouts of the control connection by setting SO_KEEPALIVE.
This matches the equivalent behaviour in ftpd.

Note: This is a much simpler change than adding a background polling event
to invoke "STAT" (or "NOOP") on the control connection during a transfer.
(It's unclear from RFC 959 whether "NOOP" is even permitted during a transfer).

PR bin/56129

(lukem)

2021-06-03 09:22:47 UTC MAIN commitmail json YAML

ksyms(4): Allow multiple concurrent opens of /dev/ksyms.

First one takes a snapshot; others all agree with the snapshot.

Previously this code path was just broken (could fail horribly if
modules were unloaded after one of the opens is closed), so I just
blocked it off in an earlier commit, but that broke crash(8).  So
let's continue allowing multiple opens seeing the same snapshot, but
without the horrible bugs.

(riastradh)

2021-06-03 09:09:22 UTC MAIN commitmail json YAML

- Add some more things necessary for ATF.
- Add makphy(4) found in recent wm(4) models.
- Style.

(rin)

2021-06-03 07:41:26 UTC MAIN commitmail json YAML

2021-06-03 07:40:48 UTC MAIN commitmail json YAML

Switch amiga to Xorg server 1.20; wsfb(4) is only graphic driver both for
1.10 and 1.20 (Xamiga was gone a long ago...), and there is no reason to
stay with 1.10.

At least, 1.20 works fine on wsdisplay(4) at amidisplaycc(4).

(rin)

2021-06-03 07:37:01 UTC MAIN commitmail json YAML

2021-06-03 07:34:30 UTC MAIN commitmail json YAML

For amiga, use wskbd as default, which is only supported protocol today.

(rin)

2021-06-03 07:31:20 UTC MAIN commitmail json YAML

kbd(4) and ms(4) carry multiple interface attributes. They are configurable
both as standalone drivers for legacy framebuffer console, or parents of
wskbd(4) and wsmouse(4), respectively. For the latter, be explicit about
using "wskbddev" and "wsmousedev" interface attributes for children.

(rin)

2021-06-03 07:06:22 UTC MAIN commitmail json YAML

Mirror changes to passing pages to UVM into aarch64_machdep.c

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
  (bp_end) after the bootconfig.dram (outer loop) range start (start).
  This was harmless as a later condition correctly checks there is only
  something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
  been passed to UVM.  This fixes a boot problem for simon@

Copy a comment over and do the VPRINTF before the uvm_page_physload in
the same way as aarch64_machdep.c as well.

(skrll)

2021-06-03 07:02:59 UTC MAIN commitmail json YAML

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
  (bp_end) after the bootconfig.dram (outer loop) range start (start).
  This was harmless as a later condition correctly checks there is only
  something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
  been passed to UVM.  This fixes a boot problem for simon@

(skrll)

2021-06-03 01:00:24 UTC MAIN commitmail json YAML

ksyms(4): Don't skip symbol tables that are soon to be freed, take 2.

They will not actually be freed until /dev/ksyms is closed, so
continued access to them remains kosher.

The previous change was busted because of an off-by-one error in a
previous previous change's iteration over the symtabs; that error has
since been corrected.

(riastradh)

2021-06-03 01:00:15 UTC MAIN commitmail json YAML

ksyms(4): Fix race in ksymsread iteration.

TAILQ_NEXT(ksyms_last_snapshot) might change while we are iterating,
but ksyms_last_snapshot itself cannot, so invert the loop structure.

Discussed with rin@.

(riastradh)

2021-06-02 22:32:29 UTC MAIN commitmail json YAML

Add commented out ASUSTek USB-N13 B1

The urtwn driver attaches, but I didn't have a chance to try if it
actually works.

(wiz)

2021-06-02 21:35:17 UTC MAIN commitmail json YAML

tpm(4): Preserve error if any on ending commands.

This way we don't spuriously suppress an error, such as
TPM_DEACTIVATED, in a loop where we rely on it.

(riastradh)

2021-06-02 21:34:58 UTC MAIN commitmail json YAML

timecounter(9): Zero the next pointer after tc_detach.

This reverts it to a state where tc_init works again.

(riastradh)

2021-06-02 17:56:41 UTC MAIN commitmail json YAML

Clear sc_mode only on last close.

(mlelstv)

2021-06-02 16:07:33 UTC MAIN commitmail json YAML

The install image grew again - update size

(pgoyette)

2021-06-02 15:59:08 UTC MAIN commitmail json YAML

Copy mode of open wedges with the same parent and validate it.
Remove race on mode value when closing.

(mlelstv)

2021-06-02 15:45:29 UTC MAIN commitmail json YAML

drm2: build with -fwrapv, since the Linux kernel does and we don't
want to spend too much time fixing their code. silences a lot of
KUBSAN warnings.

we need to use COPTS to have per-option compiler flags. help from
Riastradh.

(nia)

2021-06-02 15:43:33 UTC MAIN commitmail json YAML

Fix regression introduced in rev 1.90:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_ksyms.c#rev1.90

in which the last element of ksyms_symtabs is skipped by mistake.

(rin)

2021-06-02 15:31:33 UTC cjep_sun2x commitmail json YAML

2021-06-02 15:04:23 UTC cjep_sun2x commitmail json YAML

Use x11 variables for LDADD and DPADD. Now builds on sun2.

(cjep)

2021-06-02 15:03:56 UTC cjep_sun2x commitmail json YAML

Use x11 variables for LDADD and DPADD. Now builds on sun2.

(cjep)

2021-06-02 15:02:43 UTC cjep_sun2x commitmail json YAML

Use x11 variables for LDADD and DPADD. Now builds on sun2.

(cjep)

2021-06-02 15:01:18 UTC MAIN commitmail json YAML

Declare IOPortBase for mips, as done for xorg-server.

Fix build for sgimips, which still uses xorg-server.old.

(rin)

2021-06-02 14:55:47 UTC cjep_sun2x commitmail json YAML

Use x11 variables for LDADD and DPADD. Now builds on sun2.

(cjep)

2021-06-02 14:46:25 UTC cjep_sun2x commitmail json YAML

Use x11 variables for LDADD and DPADD. Now builds on sun2.

(cjep)

2021-06-02 14:27:56 UTC cjep_sun2x commitmail json YAML

Use new X11 LDADD/DPADD flags. Now builds on sun2.

(cjep)

2021-06-02 14:22:55 UTC cjep_sun2x commitmail json YAML

Work towards X sources building statically and on sun2.

Setup specific make variables to contain the full set of library
flags (LDADD and DPADD) for programs in the xorg suite. Each list
contains all needed dependencies so that the programs will build
statically.

Suggested by mrg@

(cjep)

2021-06-02 11:32:24 UTC MAIN commitmail json YAML

Can't left shift a signed int by 31. Found by kubsan.

(nia)

2021-06-02 10:31:18 UTC MAIN commitmail json YAML

Install a copy of rk3399-pinebook-pro.dtb to the base dtb directory for
compatibility with the factory firmware. Normally this is frowned upon,
but this is the only easy way to boot NetBSD on this board without
having to crack open the case and/or hook up a serial console.

(jmcneill)

2021-06-02 10:28:21 UTC MAIN commitmail json YAML

Add support for installing a copy of dtb files to the base dtb directory
when DTBSUBDIR is defined.

(jmcneill)

2021-06-02 09:23:32 UTC MAIN commitmail json YAML

psref(9): Make use-after-free panic message more obvious.

Previously it would almost always manifest as

mismatched psref target class: 0x0 (ref) != 0x... (expected)

and now it will manifest as

psref target already destroyed: 0x...

(riastradh)

2021-06-02 08:46:17 UTC MAIN commitmail json YAML

Revert "ksyms(4): Don't skip symbol tables that are soon to be freed."

Apparently the equality kassert this restored doesn't work; to be
analyzed.

(riastradh)

2021-06-02 06:48:10 UTC MAIN commitmail json YAML

when warning about TSC going backwards, provide advice to the sysadmin.

(nia)

2021-06-02 01:48:08 UTC MAIN commitmail json YAML

NetBSD 9.99.83 - struct ifnet adds 'if_lagg' field

(yamaguchi)

2021-06-02 00:47:59 UTC MAIN commitmail json YAML

Added missing definition of sppp_ipv6cp_tld

Fixed build without INET6

(yamaguchi)

2021-06-02 00:33:22 UTC MAIN commitmail json YAML

Provide canonical declaration of IOPortBase for MIPS here, too.

(joerg)

2021-06-02 00:00:39 UTC MAIN commitmail json YAML

2021-06-01 23:28:07 UTC MAIN commitmail json YAML

wsdisplay(4): Use C99 initializer for usl_syncops.

Avoid sketchy function pointer cast while here.

(riastradh)

2021-06-01 22:58:03 UTC MAIN commitmail json YAML

dev_verbose(9): Prohibit autounloading modules.

This logic is not safe for autounload right now -- there's no
mechanism by which to block new users and wait for existing users to
drain when unloading.  To be remedied!

(riastradh)

2021-06-01 21:29:24 UTC MAIN commitmail json YAML

x86: Reset cached tsc in every lwp to 0 on suspend/resume.

This avoids spuriously warning about tsc going backwards, which is to
be expected after a suspend/resume cycle.

(riastradh)

2021-06-01 21:27:36 UTC MAIN commitmail json YAML

audio(4): audio_unlink never fails, so make it return void.

(riastradh)

2021-06-01 21:19:03 UTC MAIN commitmail json YAML

audio(4): Insert mixers and audioctls into sc_files on open too.

This is necessary so that on detach we set file->dying before any
operations, particularly audioclose, try to acquire a psref by the
time the audio softc is gone.

Candidate fix for PR kern/56164.

(riastradh)

2021-06-01 21:15:37 UTC MAIN commitmail json YAML

audio(4): No need to set file->dying when closing the file.

No other file operations are possible by the time we get to
audioclose.

(riastradh)

2021-06-01 21:14:52 UTC MAIN commitmail json YAML

audio(4): Grab sc->sc_cred under sc->sc_lock before freeing.

Otherwise we may race with open, leaking a cred no longer in use and
freeing a cred still in use.

(riastradh)

2021-06-01 21:12:47 UTC MAIN commitmail json YAML

audio(4): Use kmem_alloc(sizeof(*p)) style.

(riastradh)

2021-06-01 21:12:36 UTC MAIN commitmail json YAML

audio(4): Make sure to return ENXIO if device is being detached.

Don't return 0 indicating successful open of an unusable device!

(riastradh)

2021-06-01 21:12:24 UTC MAIN commitmail json YAML

audio(4): Set AUMODE_PLAY/RECORD only if asked _and_ supported.

If one is requested and _not_ supported, fail; otherwise we might
enter audio_write with a null play track and crash on KASSERT.

(riastradh)

2021-06-01 21:11:52 UTC MAIN commitmail json YAML

ksyms(4): Don't skip symbol tables that are soon to be freed.

They will not actually be freed until /dev/ksyms is closed, so
continued access to them remains kosher.

(riastradh)

2021-06-01 21:11:07 UTC MAIN commitmail json YAML

ksyms(4): Modify ksyms_symtabs only at IPL_HIGH.

This limits the opportunities for ddb to witness an inconsistent
state of the symbol table list.

(riastradh)

2021-06-01 21:10:23 UTC MAIN commitmail json YAML

ksyms(4): Fix ksymsread synchronization.

Fixes crash on concurrent update and read of /dev/ksyms.

XXX Unclear why we have to skip sd_gone entries here -- it seems like
they should be preserved until ksymsclose.

(riastradh)

2021-06-01 21:08:48 UTC MAIN commitmail json YAML

audiorecord(1): Handle read(2) return value gracefully.

(riastradh)

2021-06-01 16:55:07 UTC MAIN commitmail json YAML

2021-06-01 10:41:23 UTC netbsd-9 commitmail json YAML

2021-06-01 10:39:48 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1277):

sys/arch/aarch64/aarch64/netbsd32_machdep.c: revision 1.18

Fix conversion between aarch64 and aarch32 fpreg's; in aarch32 mode,
d0-d31 are packed into v0-v15 (== q0-q15).

This fixes crashes in VFP-optimized codes running on COMPAT_NETBSD32.

OK ryo

(martin)

2021-06-01 10:36:32 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1276):

external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile: revision 1.17

Make wskbd(4) default for mac68k; no other protocol is available.

(martin)

2021-06-01 05:22:57 UTC MAIN commitmail json YAML

Fix the wrong timeout event handler for PAP

sppp_auth_to_event() is a implementation of TO+/TO- event for
authentication protocol and it drops TO+ event in Ack-rcvd state.

(yamaguchi)

2021-06-01 05:18:33 UTC MAIN commitmail json YAML

Update test case.
The state of IPCP and IPv6CP is Closed when those are disabled.

(yamaguchi)

2021-06-01 05:16:46 UTC MAIN commitmail json YAML

Send Up event in tlu action of LCP

When LCP is stopping, the layer send Down event and Close event
(Down -> Close). To align the sequence, Up event is moved
before Open event.

(yamaguchi)

2021-06-01 05:11:22 UTC MAIN commitmail json YAML

Added logs when IPCP and IPv6CP are up or down

(yamaguchi)

2021-06-01 05:08:46 UTC MAIN commitmail json YAML

Added SPPP_LOG() for refactoring around log

(yamaguchi)

2021-06-01 05:04:06 UTC MAIN commitmail json YAML

Send RTM_IFINFO when a network configuration protocol
is up or down

(yamaguchi)

2021-06-01 04:59:50 UTC MAIN commitmail json YAML

Drop the Open event of LCP to stop the interface
even a reconnection is scheduled

The queue for events in if_spppsubr.c is not possible
to enqueue the same event. So, The close event caused
while a close event and open event are enqueued for
reconnection is not possible to stop interface.
To solve this issue, The open event after
"ifconfig pppoe? down" is dropped.

(yamaguchi)

2021-06-01 04:55:56 UTC MAIN commitmail json YAML

remove PP_CISCO that was used in obsoleted drivers e.g. lmc(4)

(yamaguchi)

2021-06-01 04:45:22 UTC MAIN commitmail json YAML

Remove open event on tlf of PAP/CHAP when retry of them is over
to prevent that LCP stops at Starting state.

And also remove retry counter check on tls of LCP because of
unnecessary.

(yamaguchi)

2021-06-01 04:19:57 UTC MAIN commitmail json YAML

Do not if_down() when a down event of the lower layer of LCP is happened
since the layer try to reconnect.

(yamaguchi)

2021-06-01 03:51:33 UTC MAIN commitmail json YAML

Fix not to do if_down() before reconnect

Almost network interface do not use if_down() even when there is no
connectivity. So, pppoe(4) is also made be not used it.
This behavior can be rollbacked by SPPP_IFDOWN_RECONNECT option.

(yamaguchi)

2021-06-01 03:27:23 UTC MAIN commitmail json YAML

restart LCP when loopback packets are detected

In if_spppsubr.c down and up do not mean that LCP is stopping
or running, but mean that the lower layer of LCP is up or down.
And, restarting of LCP is had to use close event and open event.

(yamaguchi)

2021-06-01 00:59:02 UTC MAIN commitmail json YAML

Fix initial line hash calculation for subwindows

lp->hash is not initialized at this point. Since the hash is
calculated in chunks using __hash_more(), it needs to be initialized
to 0 first (just as in doupdate()).

Detected with valgrind while running python's test suite when
debugging an unrelated issue.

ok uwe@

(mcf)

2021-06-01 00:30:22 UTC MAIN commitmail json YAML

PR port-arm/55790

Fix KASSERT failure with floating-point exception in userland.

Consider the case in which curlwp owns enabled FPU in vfp_handler().
If FPE is raised, we must skip pcu_load(9) rather than just falling
through. Otherwise, KASSERT fires in vfp_state_load(), since curlwp
already owns enabled FPU.

No regression for ATF is introduced.

(rin)

2021-06-01 00:13:19 UTC MAIN commitmail json YAML

PR port-arm/55790

Style fix for clarity, in preparation of main fix.

Replace condition ``curcpu()->ci_pcu_curlwp[PCU_FPU] == curlwp'' with
``curlwp->l_pcu_cpu[PCU_FPU] == curcpu()''. And add KASSERT to check
the two conditions are equivalent, as done for MI pcu code:

https://nxr.netbsd.org/xref/src/sys/kern/subr_pcu.c#323

No functional changes.

(rin)

2021-05-31 22:33:19 UTC MAIN commitmail json YAML

PR toolchain/55837

Get rid of -O0 hack for GDB for hard-float arm. This was necessary because
libunwind did not support s0-s31. Note that for *most* cases (not all!),
-O0 stops using VFP registers for general purposes.

Also note that this hack was incomplete. We had to compile every functions
with -O0, that can be unwinded. Otherwise, GDB crashed every time exceptions
were raised.

(rin)

2021-05-31 22:15:26 UTC cjep_staticlib_x commitmail json YAML

2021-05-31 21:45:41 UTC MAIN commitmail json YAML

2021-05-31 21:44:20 UTC MAIN commitmail json YAML

2021-05-31 21:31:34 UTC MAIN commitmail json YAML

PR toolchain/55837

Stop using enum for flags, as per request from joerg.

#define constants and #undef after use.

(rin)

2021-05-31 17:22:45 UTC MAIN commitmail json YAML

Additional comment about the range (0-1025) that's needed for the PT page
reference count, and thus now many bits we need to scare up.

(thorpej)

2021-05-31 17:16:05 UTC MAIN commitmail json YAML

After a comment by joerg@, go back to using a dedicated field for the
PT page reference count, but add an XXX comment stating the desire to
find a safely-unused field in the vm_page structure when pages are in-
use as PT pages, so that we can save the 8 bytes per page needed for
this.

(thorpej)

2021-05-31 14:38:57 UTC MAIN commitmail json YAML

2021-05-31 12:24:15 UTC MAIN commitmail json YAML

Use <sys/param.h> in the synopsis rather than <machine/param.h>; an MI
interface should be pulled in via <sys/...>.

(simonb)

2021-05-31 12:12:24 UTC MAIN commitmail json YAML

PR toolchain/55837

Bump LAST_REGISTER and LAST_RESTORE_REG to REGNO_ARM32_S31 for arm.

There are two numbering schemes for VFPv2 registers: s0-s31 and d0-d15.
The former is used by GCC, and the latter is by LLVM. Since libunwind was
derived from LLVM, it has never supported the former. This results in
crashes for GCC-compiled binaries in exception handler of C++, if it
encounters VFPv2 registers when unwinding frames.

This commit adds support for s0-s31 numbering to libunwind. I choose an
implementation in which VFPv2 registers are ``double-counted'' as s0-s31
AND d0-d15. This does not cause real problems, since the former is only
used by GCC, and the later is by LLVM. That is, different numbering
schemes cannot appear in a same frame. To make sure, assertions are added
in order to check this.

I've confirmed that no regression for ATF both for GCC- and LLVM-compiled
userlands.

(rin)

2021-05-31 11:57:28 UTC MAIN commitmail json YAML

PR toolchain/55837

Fix logic error in copyFloatVectorRegister() for arm; copy s0-s31 or
d0-d31, not both.

(rin)

2021-05-31 11:54:01 UTC MAIN commitmail json YAML

PR toolchain/55837

Fix pointer arithmetic when copying s0-s31 registers for arm.

(rin)

2021-05-31 11:50:43 UTC MAIN commitmail json YAML

PR toolchain/55837

Fix DWARF/internal register numbers of s31 for arm.

(rin)

2021-05-31 11:47:18 UTC MAIN commitmail json YAML

PR toolchain/55837

Fix for jumpto() armeb; use word-wise load for flags, instead of byte-wise one.

(rin)

2021-05-31 11:44:07 UTC MAIN commitmail json YAML

PR toolchain/55837

copyFloatVectorRegister(): Assert register number is valid to make sure.

(rin)

2021-05-31 11:41:22 UTC MAIN commitmail json YAML

PR toolchain/55837

Misc style fixes for clarity:

- Rename lazyVFP1() and lazyVFP3() to lazyVFPv2() and lazyVFPv3(),
  respectively. Note that VFPv1 was obsoleted and replaced by VFPv2.

- Introduce enum for flags.

- Add few comments.

No functional changes.

(rin)

2021-05-31 11:12:42 UTC MAIN commitmail json YAML

Generalize boot.cfg workaround for ISO9660; fallback to default_device
whenever efi_file_path() fails (due to broken firmware), in addition to
the case of ISO9660 (for which efi_file_path() succeeds but does not
work correctly).

(rin)

2021-05-31 10:57:02 UTC MAIN commitmail json YAML

uvm: Make uvm_extern.h (more) self-contained, needs sys/types.h.

(riastradh)

2021-05-31 10:33:04 UTC MAIN commitmail json YAML

2021-05-31 07:59:02 UTC MAIN commitmail json YAML

2021-05-31 02:10:37 UTC MAIN commitmail json YAML

MIPS n64 dynamic binaries have worked for a while now, remove -static
for these.

(simonb)