NetBSD/src 7PakLZpshare/man/man4 options.4, sys/arch/alpha/alpha fp_complete.c compat_16_machdep.c

   Remove compat_osf1, discussed on tech-kern@.

NetBSD/src zyjxddusys/dev/mii miidevs.h miidevs_data.h

   Regen.
VersionDeltaFile
1.149+3-1sys/dev/mii/miidevs.h
1.137+1-1sys/dev/mii/miidevs_data.h
+4-22 files

NetBSD/src y48FcSUsys/dev/mii miidevs

Add Bankspeed Pty and NetExcell.
VersionDeltaFile
1.151+3-1sys/dev/mii/miidevs
+3-11 files

NetBSD/src PwDcLbgsys/net if_tun.c

   in tundetach(), error is only used #ifdef _MODULE so wrap its declaration.
VersionDeltaFile
1.155+5-3sys/net/if_tun.c
+5-31 files

NetBSD/src ORtsHqWsys/net if_tap.c

   Put the #ifdef where it belongs (after defining the out2 label which is
   referenced only inside #ifdef block)
VersionDeltaFile
1.109+3-3sys/net/if_tap.c
+3-31 files

NetBSD/src FijGivFsys/dev/mii miidevs_data.h miidevs.h

Regen.
VersionDeltaFile
1.136+6-1sys/dev/mii/miidevs_data.h
1.148+2-2sys/dev/mii/miidevs.h
+8-32 files

NetBSD/src mFZNPEzsys/dev/mii miidevs

Remove extra space.
VersionDeltaFile
1.150+2-2sys/dev/mii/miidevs
+2-21 files

NetBSD/src D5kszGEsys/dev/mii mii_verbose.c devlist2h.awk

Fix compile error when MIIVERBOSE is set. Reported by Kurt Schreiner.

NetBSD/src STNwqABsys/net if_tap.c

   Resequence the activities in tapdetach() so that no new units can be
   created, either by opening /dev/tap or ifconfig tapx create, before
   checking to see if we have any active units.
VersionDeltaFile
1.108+25-13sys/net/if_tap.c
+25-131 files

NetBSD/src yTMekhKsys/dev/mii nsphyter.c lxtphy.c

KNF. No functional change.
VersionDeltaFile
1.43+13-19sys/dev/mii/nsphyter.c
1.53+13-19sys/dev/mii/lxtphy.c
1.58+13-19sys/dev/mii/inphy.c
1.4+5-11sys/dev/mii/etphy.c
+44-684 files

NetBSD/src sqWCmRZsys/dev/mii brgphy.c rgephy.c

KNF. No functional change.

NetBSD/src G6mQSjwsys/net if_tun.c

   Resequence the stuff in tundetach() to ensure that no new device units
   can be created by either 'ifconfig create' or 'open("/dev/tun0")' paths.

   Note: previous efforts at fixing 'modunload if_tun' are abandoned, since
   there is no bug.  Just need to ensure that the cloned interface is both
   close(1)d _and_ 'ifconfig tunx destroy' before trying to unload.
VersionDeltaFile
1.154+18-11sys/net/if_tun.c
+18-111 files

NetBSD/src oYCCA2gsys/dev/mii mii_physubr.c gphyter.c

KNF. No functional change.

NetBSD/src ZRLrbRCsys/dev/mii mii_ethersubr.c

   - Copy copyright messages from if_ethersubr.c rev. 1.157.
   - Add missing RCS ID.
VersionDeltaFile
1.2+65-0sys/dev/mii/mii_ethersubr.c
+65-01 files

NetBSD/src h1ksomYsbin/dump_lfs dump_lfs.8

   Bump date for previous.
VersionDeltaFile
1.19+2-2sbin/dump_lfs/dump_lfs.8
+2-21 files

NetBSD/src pLalYsWsbin/dump dump.8

   Bump date for previous.
VersionDeltaFile
1.71+2-2sbin/dump/dump.8
+2-21 files

NetBSD/src l8NQsZksys/dev/mii makphyvar.h

Add my name.
VersionDeltaFile
1.2+2-2sys/dev/mii/makphyvar.h
+2-21 files

NetBSD/src hOcwlaysys/dev/mii makphy.c makphyvar.h

   - 88E1000(S) has no page select register, so don't access it.
     Note that qemu doesn't implement the register and the access fails.
     For I210, we can use the register.
   - Don't set PSCR_CRS_ON_TX bit on I210.
VersionDeltaFile
1.58+33-10sys/dev/mii/makphy.c
1.1+42-0sys/dev/mii/makphyvar.h
+75-102 files

NetBSD/src QGoSRgnsys/dev/pci if_wm.c

Pass error status to the upper layer in wm_gmii_{i82544,i80003}*().
VersionDeltaFile
1.632+18-16sys/dev/pci/if_wm.c
+18-161 files

NetBSD/src MKZjIDPsys/net if_tun.c

Revert rev. 1.151 and 1.152 to avoid compile error. Requested by pgoyette.
VersionDeltaFile
1.153+3-3sys/net/if_tun.c
+3-31 files

NetBSD/src sEwkCrusys/net if_tun.c

   Use correct list name
VersionDeltaFile
1.152+3-3sys/net/if_tun.c
+3-31 files

NetBSD/src IDDJFh0sbin/dump dump.8 itime.c, sbin/dump_lfs dump_lfs.8

   Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry

   This address situations where dump(8) cannot figure out the device being
   dumped. It also allows tracking of subvolume dumps by using virtual
   device as dumpdates entry.
VersionDeltaFile
1.70+15-2sbin/dump/dump.8
1.18+15-2sbin/dump_lfs/dump_lfs.8
1.22+7-7sbin/dump/itime.c
1.75+8-4sbin/dump/main.c
1.57+2-1sbin/dump/dump.h
+47-165 files

NetBSD/src BaE3DQmsys/net if_tun.c

   This should do it!

   Remove the zombie unit from the zombie list, not the regular list!
VersionDeltaFile
1.151+3-3sys/net/if_tun.c
+3-31 files

NetBSD/src iCMuLiqsys/net if_tun.c

   And revert both of the previous.  It seems that the structure has
   already been removed from the list in the find_zunit() code.

   So now, off to really find out why the module won't unload.
VersionDeltaFile
1.150+2-3sys/net/if_tun.c
+2-31 files

NetBSD/src FEcioEDsys/net if_tun.c

   Fix previous - remove it from the list before freeing the memory.
VersionDeltaFile
1.149+3-3sys/net/if_tun.c
+3-31 files

NetBSD/src Z9WNMjPsys/net if_tun.c

   If the unit being closed was a "zombie" (ie, the interface was destroyed
   previously), remove it from the zombie list after freeing all of its
   resources.

   This should allow the module to be unloaded even if there was a zombie
   at some point.  Without this change, the zombie list never gets emptied.
VersionDeltaFile
1.148+3-2sys/net/if_tun.c
+3-21 files

NetBSD/src Kj0G3iglib/libedit filecomplete.c

   Only quote the completion matches if we are doing filename completion

   If the user supplies a value for the attempted_completion_function parameter
   then we cannot be sure if the completion is for filename or something else, in such
   a case don't attempt to quote the completion matches.

   Reviewed by christos

   This should address PR lib/54067
VersionDeltaFile
1.52+11-7lib/libedit/filecomplete.c
+11-71 files

NetBSD/src Ec4Ju4bsys/compat/linux/arch/alpha linux_syscallargs.h linux_sysent.c

   regen

NetBSD/src qmKPc3Qsys/compat/linux/arch/alpha linux_osf1.c linux_osf1.h, sys/compat/osf1 files.osf1

   Remove Alpha's compat_linux dependency on compat_osf1. Each function is
   copied as-is from compat_osf1 with no functional change. Discussed on
   tech-kern@, ok @thorpej.

NetBSD/src 4dVfXzwsys/arch/amd64/amd64 netbsd32_machdep.c machdep.c, sys/compat/linux32/arch/amd64 linux32_machdep.c

   Disable preemption when setting PCB_COMPAT32, to prevent a context switch
   before cpu_fsgs_reload() finishes, otherwise we write garbage in the GDT.
   On NetBSD-current it is harmless, however in NetBSD-8 it might cause
   panics, because NetBSD-8 uses the old SegRegs model and under this model
   we reload %fs and %gs during switches.

NetBSD/src F00C5Htsbin/gpt show.c gpt.8

   Make the "show" subcommand accept -b startsec to identify a partition
   (very usefull for scripts and other robotic callers).
VersionDeltaFile
1.43+20-2sbin/gpt/show.c
1.65+5-3sbin/gpt/gpt.8
+25-52 files

NetBSD/src VOjoiQWshare/man/man4 zyd.4

   Bump date for previous.
VersionDeltaFile
1.7+2-2share/man/man4/zyd.4
+2-21 files

NetBSD/src wbavXirsbin/gpt resize.c gpt.8

   Add support for specifying the partition to resize via -b startsec
   (similar to label and other subcommands). Do not fully add gpt_find
   functionality here, as resizing multiple partitions in one go does not
   make sense.
VersionDeltaFile
1.24+20-5sbin/gpt/resize.c
1.64+3-3sbin/gpt/gpt.8
+23-82 files

NetBSD/src VTAMXypsys/arch/amd64/amd64 machdep.c, sys/compat/linux/arch/amd64 linux_machdep.c

   Fix a tiny race in setregs and linux_setregs. Between the moment we set
   pcb_flags to zero, and the moment cpu_segregs64_zero resets pcb_gs, we may
   be preempted.

   If this happens, and if the calling LWP was a 32bit thread, when switching
   back to that LWP, the context switcher sees that PCB_COMPAT32 is not set in
   pcb_flags and tries to perform a 64bit context switch; but pcb_gs contains
   a 32bit GDT descriptor, and not a 64bit GS.base value. The wrmsr therefore
   faults because the value is non-canonical, and this fault is fatal.

   Rearrange the code so that the update of pcb_flags and pcb_gs/pcb_fs is non
   interruptible. This fixes the problem, tested with a reproducer (which
   therefore doesn't work anymore).

   Likely fixes PR/53993.

NetBSD/src 33fBYGcshare/man/man4 zyd.4

   Delete the sentence "Wired Equivalent Privacy (WEP) is the de facto
   encryption standard for wireless networks", because it no longer is.
VersionDeltaFile
1.6+1-3share/man/man4/zyd.4
+1-31 files

NetBSD/src S4Ljh1ddistrib/sets/lists/modules mi, sys/modules Makefile

   Add a loadable module for tap(4).

   The code was already modularized, we simply didn't build the loadable
   module.

   Note also that since the tap(4) device can be reasonably accessed by
   either creating a  device instance (using ifconfig(8)) or by opening
   /dev/tap, we need to create both if_tap.kmod and tap.kmod (similar to
   what is done with tun(4)).

NetBSD/src BwPt1LOexternal/mit/xorg/lib/fontconfig/src Makefile

   Make "includes" depend upon uuid/uuid.h (as already did
   depends, dependall, and all) rather than unconditionally
   "building" it.

   This avoids a "file exists" error from an update build
   (where the objdir already contained the link to the file.)

   ok mrg@ :
    "if it works from a clean objdir, please commit it.  we can fix more later.."

NetBSD/src uxqdgRsusr.sbin/cpuctl/arch i386.c

Add HAXM.
VersionDeltaFile
1.95+6-3usr.sbin/cpuctl/arch/i386.c
+6-31 files

NetBSD/src o6DsLkfdistrib/sets/lists/comp md.sparc64

   Fix MKCOMPAT=no build for sparc64;
   Remove duplicate entry for ./usr/include/g++/bits/sparc.

   Reported by K. Schreiner.
VersionDeltaFile
1.209+1-2distrib/sets/lists/comp/md.sparc64
+1-21 files

NetBSD/src XAZf8qgexternal/mit/xorg/lib/libGLU Makefile

   Remove workaround for internal compiler error.

   GCC 7 and 6 work fine without this for both m68k and m68010.

NetBSD/src EQfHtFRexternal/gpl3/gcc.old/dist/libsanitizer/asan asan_thread.cc, external/gpl3/gcc/dist/libsanitizer/asan asan_thread.cc

   Fix usage of STACK_ALIGNBYTES in our local change.

   Tested on amd64 and i386:
   - binaries generated by "gcc -fsanitize=address" work fine
   - /usr/tests/usr.bin/{cc,c++}/t_asan_* do not fail

NetBSD/src SdsBgqJshare/man/man4 cdce.4

   Bump date for previous.
VersionDeltaFile
1.15+2-2share/man/man4/cdce.4
+2-21 files

NetBSD/src M2WwECoshare/man/man4 cdce.4

   The USB port of the Huawei E5573s-320s portable 4G router successfully
   attaches as cdce(4) and works.
VersionDeltaFile
1.14+3-1share/man/man4/cdce.4
+3-11 files

NetBSD/src qo48BWYshare/misc acronyms.comp

   SOM & COM from the world of ARM
VersionDeltaFile
1.235+3-1share/misc/acronyms.comp
+3-11 files

NetBSD/src UDfQlcQsys/arch/sgimips/conf GENERIC32_IP3x files.sgimips

   Enable Bluetooth support.
   usbdevices.config includes support for USB Bluetooth.
   Tested on an o2 with a PCI USB adapter and Broadcom BCM20702A0 dongle.

NetBSD/src r9rjOqCsys/arch/sgimips/conf GENERIC32_IP3x

   Reduce duplication by switching to using dev/usb/usbdevices.config
VersionDeltaFile
1.123+3-106sys/arch/sgimips/conf/GENERIC32_IP3x
+3-1061 files

NetBSD/src z5HT8yGsys/arch/hppa/conf files.hppa GENERIC, sys/arch/hppa/hppa trap.S

   Remove references to COMPAT_OSF1 in HPPA, it has never been supported on
   this architecture.

NetBSD/src gFjkSfksys/sys queue.h

   Enable QUEUEDEBUG under DIAGNOSTIC. It has never been documented and used,
   but it's very useful and costs basically nothing. I even think we could
   enable it by default in the kernel (if we added __predict_false's and
   removed some crap).
VersionDeltaFile
1.74+8-1sys/sys/queue.h
+8-11 files

NetBSD/src f40RWVgsys/arch/x86/x86 spectre.c svs.c

   In fact, xc_broadcast also applies to offline CPUs, so we don't need to
   make sure each CPU is online. Remove the checks, I suspect they weren't
   totally correct by the way.
VersionDeltaFile
1.25+2-41sys/arch/x86/x86/spectre.c
1.24+2-21sys/arch/x86/x86/svs.c
+4-622 files

NetBSD/src TyFFtEwsys/modules/if_agr Makefile, sys/net if.c if.h

   Replace compile-time checking for vlan code with a module hook.

   Should resolve the errors reported on irc when booting a kernel which
   has agr without vlan:


    [   1.0000000] WARNING: module error: built-in module if_agr can't find builtin 
dependency `if_vlan'
    [   1.0000000] WARNING: module error: built-in module if_agr prerequisite if_vlan 
failed, error 2
VersionDeltaFile
1.48+5-9sys/net/agr/if_agr.c
1.447+8-2sys/net/if.c
1.269+7-1sys/net/if.h
1.134+4-2sys/net/if_vlan.c
1.4+2-2sys/modules/if_agr/Makefile
+26-165 files