CVS commit: src/sys/dev/pci

2018-06-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun 14 07:19:47 UTC 2018

Modified Files:
src/sys/dev/pci: if_skreg.h

Log Message:
 s/regisrer/register/. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/if_skreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 07:39:16 UTC 2018

Modified Files:
src/sys/net: if_ether.h

Log Message:
Move macros related to multicast address into #ifdef _KERNEL

Those macros and structure are only used in the kernel.
reviewed by ozaki-r@n.o, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/net/if_ether.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 07:44:31 UTC 2018

Modified Files:
src/sys/net: if_ether.h

Log Message:
Replace macros related to multicast address with inline functions

ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/net/if_ether.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 07:54:57 UTC 2018

Modified Files:
src/sys/net: if_ethersubr.c if_vlan.c
src/sys/netinet: ip_carp.c

Log Message:
Use ether_lookup_multi() instead of the macro

ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.126 -r1.127 src/sys/net/if_vlan.c
cvs rdiff -u -r1.96 -r1.97 src/sys/netinet/ip_carp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 08:00:24 UTC 2018

Modified Files:
src/sys/net: if_ether.h

Log Message:
Remove ETHER_LOOKUP_MULTI()

The macro has been replaced with a function.
ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/net/if_ether.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 08:06:07 UTC 2018

Modified Files:
src/sys/net: if_vlan.c
src/sys/netinet: ip_carp.c

Log Message:
Add the lock to refer the list included in ethercom for safety

The lock is already held while adding and deleting
ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/net/if_vlan.c
cvs rdiff -u -r1.97 -r1.98 src/sys/netinet/ip_carp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 08:22:52 UTC 2018

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/net/if_vlan: Makefile t_vlan.sh
Added Files:
src/tests/net/if_vlan: siocXmulti.c

Log Message:
Add test cases for multicast address handling of vlan(4)

ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.250 -r1.251 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.785 -r1.786 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.1 -r1.2 src/tests/net/if_vlan/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/if_vlan/siocXmulti.c
cvs rdiff -u -r1.9 -r1.10 src/tests/net/if_vlan/t_vlan.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/aarch64/aarch64

2018-06-14 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Jun 14 08:27:10 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: disasm.c

Log Message:
Widen shift to the LHS type.
same as aarch64/db_interface.c r1.4, PR/53338.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/aarch64/disasm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 08:33:18 UTC 2018

Modified Files:
src/sys/net: if_vlan.c

Log Message:
Fix to check whether the address has been added before delete

The list named ifv_mc_listhead saves multicast addresses that
are added through SIOCADDMULTI. Each nodes added to the list
are used for deleting the related address from a parent I/F
when remove the configuration of parent I/F.
In carp(4) and OpenBSD's vlan(4), the lists is used to check
a parameter of SIOCDELMULTI in addition to the use.
Based on them, the check is added to vlan(4)

ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/net/if_vlan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/if_vlan

2018-06-14 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Thu Jun 14 08:38:24 UTC 2018

Modified Files:
src/tests/net/if_vlan: t_vlan.sh

Log Message:
Update the error message in t_vlan (ENXIO => EINVAL)

ok ozaki-r@


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/net/if_vlan/t_vlan.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2018-06-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun 14 09:29:55 UTC 2018

Modified Files:
src/sys/dev/pci: if_msk.c

Log Message:
 Remove extra tabs. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/pci/if_msk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl2/grep/dist/lib

2018-06-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jun 14 10:14:39 UTC 2018

Modified Files:
src/external/gpl2/grep/dist/lib: obstack.c

Log Message:
Make the alignof() usage more portable in grep(1)

Remove NetBSD specific check and replace it with GCC extension __alignof__
that is available since GCC 2.x.

Requested by 


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/grep/dist/lib/obstack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2018-06-14 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jun 14 10:30:56 UTC 2018

Modified Files:
src/sys/compat/sys: time_types.h
src/sys/dev/wscons: wsevent.c

Log Message:
timespec_to_timespec50 - don't leak kernel memory in struct padding.

On 64-bit machines struct timespec50 has padding between 32-bit tv_sec
and long tv_nsec that is not affected by normal assignment.  Scrub it.
The result is most likely about to be passed to the user space by the
caller, so do it here to take care of them all.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/sys/time_types.h
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/wscons/wsevent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/sys/dev/wscons

2018-06-14 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jun 14 10:36:01 UTC 2018

Modified Files:
src/sys/dev/wscons [pgoyette-compat]: wsevent_50.c

Log Message:
Keep up with HEAD.  The original change in the wsevent_50 compat code
has been moved to sys/time_types.h and will get picked up during the
next sync-with-HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/wscons/wsevent_50.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbarm/fdt

2018-06-14 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 14 10:53:40 UTC 2018

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Increase storage space for FDT data


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/fdt/fdt_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2018-06-14 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 14 10:56:39 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: GENERIC64 files.generic64
Added Files:
src/sys/arch/arm/virt: files.virt virt_platform.c virt_platform.h
src/sys/arch/evbarm/conf: VIRT files.virt mk.virt std.virt
src/sys/arch/evbarm/virt: virt_start.S

Log Message:
Add support for QEMU ARM Virtual Machine ("virt").


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/virt/files.virt \
src/sys/arch/arm/virt/virt_platform.c \
src/sys/arch/arm/virt/virt_platform.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/conf/GENERIC64
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/conf/VIRT \
src/sys/arch/evbarm/conf/files.virt src/sys/arch/evbarm/conf/mk.virt \
src/sys/arch/evbarm/conf/std.virt
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/files.generic64
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/virt/virt_start.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2018-06-14 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jun 14 10:57:42 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
arm: Add support for QEMU ARM Virtual Machine ("virt").


To generate a diff of this commit:
cvs rdiff -u -r1.2396 -r1.2397 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2018-06-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jun 14 14:36:46 UTC 2018

Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/x86/include: cpu.h fpu.h
src/sys/arch/x86/x86: fpu.c x86_machdep.c

Log Message:
Add some code to support eager fpu switch, INTEL-SA-00145. We restore the
FPU state of the lwp right away during context switches. This guarantees
that when the CPU executes in userland, the FPU doesn't contain secrets.

Maybe we also need to clear the FPU in setregs(), not sure about this one.

Can be enabled/disabled via:

machdep.fpu_eager = {0/1}

Not yet turned on automatically on affected CPUs (Intel Family 6).

More generally it would be good to turn it on automatically when XSAVEOPT
is supported, because in this case there is probably a non-negligible
performance gain; but we need to fix PR/52966.


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/include/fpu.h
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/x86/x86/fpu.c
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/x86/x86/x86_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2018-06-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jun 14 14:48:59 UTC 2018

Modified Files:
src/doc: CHANGES CHANGES.prev

Log Message:
SpectreV4, backports in NetBSD-8, no XSAVEOPT


To generate a diff of this commit:
cvs rdiff -u -r1.2397 -r1.2398 src/doc/CHANGES
cvs rdiff -u -r1.139 -r1.140 src/doc/CHANGES.prev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/route6d

2018-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 14 16:17:19 UTC 2018

Modified Files:
src/usr.sbin/route6d: route6d.c

Log Message:
PR/53365: Thomas Barabosch: memory leak in route6d
XXX: pullup 7, 8


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/usr.sbin/route6d/route6d.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2018-06-14 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jun 14 17:41:27 UTC 2018

Modified Files:
src/sys/dev/pci: radeonfb.c

Log Message:
make this work on rv350 chips found in last generation *Books
Needs testing on non-Apple hardware.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/dev/pci/radeonfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/i386

2018-06-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jun 14 17:58:22 UTC 2018

Modified Files:
src/sys/arch/i386/i386: locore.S

Log Message:
Eager FPU on i386.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/i386/i386/locore.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/x86

2018-06-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jun 14 18:00:16 UTC 2018

Modified Files:
src/sys/arch/x86/x86: fpu.c

Log Message:
Install the FPU state on the current CPU in setregs (execve).


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x86/x86/fpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-1] src/sbin/fsck_lfs

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:36:53 UTC 2018

Modified Files:
src/sbin/fsck_lfs [netbsd-7-1]: bufcache.c bufcache.h

Log Message:
Pull up following revision(s) (requested by maya in ticket #1612):

sbin/fsck_lfs/bufcache.h: revision 1.14
sbin/fsck_lfs/bufcache.c: revision 1.20

PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.10.1 src/sbin/fsck_lfs/bufcache.c
cvs rdiff -u -r1.11 -r1.11.44.1 src/sbin/fsck_lfs/bufcache.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-0] src/sbin/fsck_lfs

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:37:56 UTC 2018

Modified Files:
src/sbin/fsck_lfs [netbsd-7-0]: bufcache.c bufcache.h

Log Message:
Pull up following revision(s) (requested by maya in ticket #1612):

sbin/fsck_lfs/bufcache.h: revision 1.14
sbin/fsck_lfs/bufcache.c: revision 1.20

PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.6.1 src/sbin/fsck_lfs/bufcache.c
cvs rdiff -u -r1.11 -r1.11.40.1 src/sbin/fsck_lfs/bufcache.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-1] src/usr.sbin/makefs

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:40:07 UTC 2018

Modified Files:
src/usr.sbin/makefs [netbsd-7-1]: ffs.c

Log Message:
Pull up following revision(s) (requested by maya in ticket #1615):

usr.sbin/makefs/ffs.c: revision 1.70

PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.

If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.

I committed a minimal fix for the problem to FreeBSD:
https://svnweb.freebsd.org/changeset/base/326912


To generate a diff of this commit:
cvs rdiff -u -r1.63.6.1 -r1.63.6.1.6.1 src/usr.sbin/makefs/ffs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-0] src/usr.sbin/makefs

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:40:38 UTC 2018

Modified Files:
src/usr.sbin/makefs [netbsd-7-0]: ffs.c

Log Message:
Pull up following revision(s) (requested by maya in ticket #1615):

usr.sbin/makefs/ffs.c: revision 1.70

PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.

If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.

I committed a minimal fix for the problem to FreeBSD:
https://svnweb.freebsd.org/changeset/base/326912


To generate a diff of this commit:
cvs rdiff -u -r1.63.6.1 -r1.63.6.1.2.1 src/usr.sbin/makefs/ffs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7] src/share/i18n/esdb/ISO-8859

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:44:16 UTC 2018

Modified Files:
src/share/i18n/esdb/ISO-8859 [netbsd-7]: ISO-8859.alias

Log Message:
Pull up following revision(s) (requested by maya in ticket #1616):

share/i18n/esdb/ISO-8859/ISO-8859.alias: revision 1.4

Add more aliases for Hebrew and Arabic ISO-8859-... encodings.

ISO-8859-8 is supposed to be visual order (i.e. legible if displayed ltr)
ISO-8859-8-i is supposed to be implicit logic order
ISO-8859-8-e is supposed to be explicit about order

In practice, ISO-8859-8 implying visual order is rare, and logic
order is used. ISO-8859-8-e is rarely used.

Same for Arabic, which uses ISO-8859-6-...

Mentioned in RFC 1555, RFC 1556.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.54.1 src/share/i18n/esdb/ISO-8859/ISO-8859.alias

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7] src/doc

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:44:56 UTC 2018

Modified Files:
src/doc [netbsd-7]: CHANGES-7.2

Log Message:
Ticket #1616


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.91 -r1.1.2.92 src/doc/CHANGES-7.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-1] src/share/i18n/esdb/ISO-8859

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:45:23 UTC 2018

Modified Files:
src/share/i18n/esdb/ISO-8859 [netbsd-7-1]: ISO-8859.alias

Log Message:
Pull up following revision(s) (requested by maya in ticket #1616):

share/i18n/esdb/ISO-8859/ISO-8859.alias: revision 1.4

Add more aliases for Hebrew and Arabic ISO-8859-... encodings.

ISO-8859-8 is supposed to be visual order (i.e. legible if displayed ltr)
ISO-8859-8-i is supposed to be implicit logic order
ISO-8859-8-e is supposed to be explicit about order

In practice, ISO-8859-8 implying visual order is rare, and logic
order is used. ISO-8859-8-e is rarely used.

Same for Arabic, which uses ISO-8859-6-...

Mentioned in RFC 1555, RFC 1556.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.64.1 src/share/i18n/esdb/ISO-8859/ISO-8859.alias

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-1] src/doc

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:48:06 UTC 2018

Modified Files:
src/doc [netbsd-7-1]: CHANGES-7.1.3

Log Message:
Tickets #1612, #1615 and #1616


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/doc/CHANGES-7.1.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-0] src/share/i18n/esdb/ISO-8859

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:48:43 UTC 2018

Modified Files:
src/share/i18n/esdb/ISO-8859 [netbsd-7-0]: ISO-8859.alias

Log Message:
Pull up following revision(s) (requested by maya in ticket #1616):

share/i18n/esdb/ISO-8859/ISO-8859.alias: revision 1.4

Add more aliases for Hebrew and Arabic ISO-8859-... encodings.

ISO-8859-8 is supposed to be visual order (i.e. legible if displayed ltr)
ISO-8859-8-i is supposed to be implicit logic order
ISO-8859-8-e is supposed to be explicit about order

In practice, ISO-8859-8 implying visual order is rare, and logic
order is used. ISO-8859-8-e is rarely used.

Same for Arabic, which uses ISO-8859-6-...

Mentioned in RFC 1555, RFC 1556.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.56.1 src/share/i18n/esdb/ISO-8859/ISO-8859.alias

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-7-0] src/doc

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:49:28 UTC 2018

Modified Files:
src/doc [netbsd-7-0]: CHANGES-7.0.3

Log Message:
Tickets #1612, #1615 and #1616


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.106 -r1.1.2.107 src/doc/CHANGES-7.0.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/usr.sbin/user

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:54:41 UTC 2018

Modified Files:
src/usr.sbin/user [netbsd-8]: user.c

Log Message:
Pull up following revision(s) (requested by zafer in ticket #877):

usr.sbin/user/user.c: revision 1.132

Set default homeperm values before writing usermgmt.conf file and
honor values in it instead of ignoring it.

Fixes PR bin/40324 by Guy Yur


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.131.22.1 src/usr.sbin/user/user.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:57:24 UTC 2018

Modified Files:
src/share/man/man4 [netbsd-8]: rtsx.4
src/sys/dev/ic [netbsd-8]: rtsx.c rtsxreg.h rtsxvar.h
src/sys/dev/pci [netbsd-8]: pcidevs rtsx_pci.c

Log Message:
Pull up following revision(s) (requested by maya in ticket #878):

share/man/man4/rtsx.4: revision 1.5
sys/dev/pci/pcidevs: revision 1.1331
sys/dev/ic/rtsxreg.h: revision 1.3
sys/dev/ic/rtsxvar.h: revision 1.3
sys/dev/pci/rtsx_pci.c: revision 1.7
sys/dev/ic/rtsx.c: revision 1.3

add realtek RT525A PCI-E card reader
found in my Dell XPS 15 9550.

rtsx(4): Add support for RT525A, from openbsd.
ok rkujawa

Denote RTS525A, bump date


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.8.1 src/share/man/man4/rtsx.4
cvs rdiff -u -r1.2 -r1.2.12.1 src/sys/dev/ic/rtsx.c src/sys/dev/ic/rtsxreg.h \
src/sys/dev/ic/rtsxvar.h
cvs rdiff -u -r1.1289.2.7 -r1.1289.2.8 src/sys/dev/pci/pcidevs
cvs rdiff -u -r1.6 -r1.6.10.1 src/sys/dev/pci/rtsx_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/kern

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 19:59:18 UTC 2018

Modified Files:
src/sys/kern [netbsd-8]: subr_workqueue.c

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #879):

sys/kern/subr_workqueue.c: revision 1.37

Don't wait on workqueue_wait if called from worker itself

Otherwise workqueue_wait never return in such a case.  This treatment
is the same as callout_halt.


To generate a diff of this commit:
cvs rdiff -u -r1.33.30.2 -r1.33.30.3 src/sys/kern/subr_workqueue.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/macppc/conf

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 20:01:28 UTC 2018

Modified Files:
src/sys/arch/macppc/conf [netbsd-8]: std.macppc

Log Message:
Pull up following revision(s) (requested by macallan in ticket #880):

sys/arch/macppc/conf/std.macppc: revision 1.24

set options ADBKBD_EMUL_USB by default

With this ADB and USB keyboards can coexist on the same mux, as needed by
built-in Bluetooth modules on some *Books

should fix PR53351


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.58.1 src/sys/arch/macppc/conf/std.macppc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/share/mk

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 20:08:37 UTC 2018

Modified Files:
src/share/mk [netbsd-8]: bsd.sys.mk

Log Message:
Pull up the following revisions, requestes by christos in ticket #881:

share/mk/bsd.sys.mk revision 1.280, 1.281

Create NETBSDOBJDIR to handle MAKEOBJDIRPREFIX, since that prepends the
prefix to the whole path.
Mention that we cannot handle MAKEOBJDIR

 -

Handle more objdir variations for MKREPRO (untested)


To generate a diff of this commit:
cvs rdiff -u -r1.271.4.1 -r1.271.4.2 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/doc

2018-06-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jun 14 20:11:02 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.0

Log Message:
Tickets #877, #878, #879, #880, #881


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.210 -r1.1.2.211 src/doc/CHANGES-8.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libm

2018-06-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jun 14 21:11:08 UTC 2018

Modified Files:
src/tests/lib/libm: t_ilogb.c

Log Message:
Test for FE_INVALID in a way that works for powerpc too.

powerpc seems to return FE_INVALID | FE_VXSOFT rather than just FE_INVALID.
XXX need extra careful reading of standards


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libm/t_ilogb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/lib/libm

2018-06-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Jun 14 21:57:25 UTC 2018

Modified Files:
src/tests/lib/libm: t_ilogb.c

Log Message:
for consistency, print the statement that is true in the error case.
also add missing closing paren


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libm/t_ilogb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/cron/dist

2018-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 14 22:02:57 UTC 2018

Modified Files:
src/external/bsd/cron/dist: crontab.5

Log Message:
Replace with the OpenBSD man page. It removes some historical comparisons
that are not very useful (and trully if any they belong to a separate section
instead of being interspersed in the document), and organizes and formats
the information better.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/cron/dist/crontab.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/cron/dist

2018-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 14 22:04:28 UTC 2018

Modified Files:
src/external/bsd/cron/dist: do_command.c entry.c funcs.h popen.c
structs.h

Log Message:
Add -n (don't send mail if command exited normally) option. From OpenBSD via
Job Snidjers.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/cron/dist/do_command.c
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/cron/dist/entry.c
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/cron/dist/funcs.h \
src/external/bsd/cron/dist/popen.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/dist/structs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2018-06-14 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Jun 15 01:37:40 UTC 2018

Modified Files:
src/sys/dev/pci: virtio.c

Log Message:
Fix queue address setup bug introduced in 1.31.

This use-before-initialization problem resulted in non-zero queues never
being initialized with their virtqueue pointer, and queue zero's pointer
to be clobbered with the virtqueue pointer for the higest-indexed ring.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/virtio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/dev/pci

2018-06-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jun 15 02:13:50 UTC 2018

Modified Files:
src/sys/dev/pci [netbsd-8]: pcidevs.h pcidevs_data.h

Log Message:
 Regen for ticket #878.


To generate a diff of this commit:
cvs rdiff -u -r1.1281.2.7 -r1.1281.2.8 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1280.2.7 -r1.1280.2.8 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.