CVS commit: [netbsd-6-0] src/sys/arch/x86

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar  6 08:17:49 UTC 2017

Modified Files:
src/sys/arch/x86/include [netbsd-6-0]: pmap.h
src/sys/arch/x86/x86 [netbsd-6-0]: pmap.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1441):
sys/arch/x86/x86/pmap.c: revision 1.241 via patch
sys/arch/x86/include/pmap.h: revision 1.63 via patch
Should be PG_k, doesn't change anything.
--
Remove PG_u from the kernel pages on Xen. Otherwise there is no privilege
separation between the kernel and userland.
On Xen-amd64, the kernel runs in ring3 just like userland, and the
separation is guaranteed by the hypervisor - each syscall/trap is
intercepted by Xen and sent manually to the kernel. Before that, the
hypervisor modifies the page tables so that the kernel becomes accessible.
Later, when returning to userland, the hypervisor removes the kernel pages
and flushes the TLB.
However, TLB flushes are costly, and in order to reduce the number of pages
flushed Xen marks the userland pages as global, while keeping the kernel
ones as local. This way, when returning to userland, only the kernel pages
get flushed - which makes sense since they are the only ones that got
removed from the mapping.
Xen differentiates the userland pages by looking at their PG_u bit in the
PTE; if a page has this bit then Xen tags it as global, otherwise Xen
manually adds the bit but keeps the page as local. The thing is, since we
set PG_u in the kernel pages, Xen believes our kernel pages are in fact
userland pages, so it marks them as global. Therefore, when returning to
userland, the kernel pages indeed get removed from the page tree, but are
not flushed from the TLB. Which means that they are still accessible.
With this - and depending on the DTLB size - userland has a small window
where it can read/write to the last kernel pages accessed, which is enough
to completely escalate privileges: the sysent structure systematically gets
read when performing a syscall, and chances are that it will still be
cached in the TLB. Userland can then use this to patch a chosen syscall,
make it point to a userland function, retrieve %gs and compute the address
of its credentials, and finally grant itself root privileges.


To generate a diff of this commit:
cvs rdiff -u -r1.49.2.2 -r1.49.2.2.4.1 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.164.2.4.4.1 -r1.164.2.4.4.2 src/sys/arch/x86/x86/pmap.c

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



CVS commit: [netbsd-6-1] src/sys/arch/x86

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar  6 08:18:14 UTC 2017

Modified Files:
src/sys/arch/x86/include [netbsd-6-1]: pmap.h
src/sys/arch/x86/x86 [netbsd-6-1]: pmap.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1441):
sys/arch/x86/x86/pmap.c: revision 1.241 via patch
sys/arch/x86/include/pmap.h: revision 1.63 via patch
Should be PG_k, doesn't change anything.
--
Remove PG_u from the kernel pages on Xen. Otherwise there is no privilege
separation between the kernel and userland.
On Xen-amd64, the kernel runs in ring3 just like userland, and the
separation is guaranteed by the hypervisor - each syscall/trap is
intercepted by Xen and sent manually to the kernel. Before that, the
hypervisor modifies the page tables so that the kernel becomes accessible.
Later, when returning to userland, the hypervisor removes the kernel pages
and flushes the TLB.
However, TLB flushes are costly, and in order to reduce the number of pages
flushed Xen marks the userland pages as global, while keeping the kernel
ones as local. This way, when returning to userland, only the kernel pages
get flushed - which makes sense since they are the only ones that got
removed from the mapping.
Xen differentiates the userland pages by looking at their PG_u bit in the
PTE; if a page has this bit then Xen tags it as global, otherwise Xen
manually adds the bit but keeps the page as local. The thing is, since we
set PG_u in the kernel pages, Xen believes our kernel pages are in fact
userland pages, so it marks them as global. Therefore, when returning to
userland, the kernel pages indeed get removed from the page tree, but are
not flushed from the TLB. Which means that they are still accessible.
With this - and depending on the DTLB size - userland has a small window
where it can read/write to the last kernel pages accessed, which is enough
to completely escalate privileges: the sysent structure systematically gets
read when performing a syscall, and chances are that it will still be
cached in the TLB. Userland can then use this to patch a chosen syscall,
make it point to a userland function, retrieve %gs and compute the address
of its credentials, and finally grant itself root privileges.


To generate a diff of this commit:
cvs rdiff -u -r1.49.2.2 -r1.49.2.2.6.1 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.164.2.4.6.1 -r1.164.2.4.6.2 src/sys/arch/x86/x86/pmap.c

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



CVS commit: [netbsd-6] src/sys/arch/x86

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar  6 08:18:44 UTC 2017

Modified Files:
src/sys/arch/x86/include [netbsd-6]: pmap.h
src/sys/arch/x86/x86 [netbsd-6]: pmap.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1441):
sys/arch/x86/x86/pmap.c: revision 1.241 via patch
sys/arch/x86/include/pmap.h: revision 1.63 via patch
Should be PG_k, doesn't change anything.
--
Remove PG_u from the kernel pages on Xen. Otherwise there is no privilege
separation between the kernel and userland.
On Xen-amd64, the kernel runs in ring3 just like userland, and the
separation is guaranteed by the hypervisor - each syscall/trap is
intercepted by Xen and sent manually to the kernel. Before that, the
hypervisor modifies the page tables so that the kernel becomes accessible.
Later, when returning to userland, the hypervisor removes the kernel pages
and flushes the TLB.
However, TLB flushes are costly, and in order to reduce the number of pages
flushed Xen marks the userland pages as global, while keeping the kernel
ones as local. This way, when returning to userland, only the kernel pages
get flushed - which makes sense since they are the only ones that got
removed from the mapping.
Xen differentiates the userland pages by looking at their PG_u bit in the
PTE; if a page has this bit then Xen tags it as global, otherwise Xen
manually adds the bit but keeps the page as local. The thing is, since we
set PG_u in the kernel pages, Xen believes our kernel pages are in fact
userland pages, so it marks them as global. Therefore, when returning to
userland, the kernel pages indeed get removed from the page tree, but are
not flushed from the TLB. Which means that they are still accessible.
With this - and depending on the DTLB size - userland has a small window
where it can read/write to the last kernel pages accessed, which is enough
to completely escalate privileges: the sysent structure systematically gets
read when performing a syscall, and chances are that it will still be
cached in the TLB. Userland can then use this to patch a chosen syscall,
make it point to a userland function, retrieve %gs and compute the address
of its credentials, and finally grant itself root privileges.


To generate a diff of this commit:
cvs rdiff -u -r1.49.2.2 -r1.49.2.3 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.164.2.5 -r1.164.2.6 src/sys/arch/x86/x86/pmap.c

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



CVS commit: src/sys/net80211

2017-03-06 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Mar  6 08:36:20 UTC 2017

Modified Files:
src/sys/net80211: ieee80211_input.c

Log Message:
Fix incrementing wrong counter


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/net80211/ieee80211_input.c

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



CVS commit: src/share/man/man4

2017-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Mar  6 09:06:02 UTC 2017

Modified Files:
src/share/man/man4: Makefile com.4 ohci.4
Added Files:
src/share/man/man4: pxaip.4

Log Message:
Add pxaip(4) man page from Stephan Meisinger in PR misc/52033


To generate a diff of this commit:
cvs rdiff -u -r1.633 -r1.634 src/share/man/man4/Makefile
cvs rdiff -u -r1.21 -r1.22 src/share/man/man4/com.4
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/ohci.4
cvs rdiff -u -r0 -r1.1 src/share/man/man4/pxaip.4

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



CVS commit: src/distrib/sets/lists/man

2017-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Mar  6 09:06:23 UTC 2017

Modified Files:
src/distrib/sets/lists/man: mi

Log Message:
Add pxaip(4) man page to the sets list.


To generate a diff of this commit:
cvs rdiff -u -r1.1549 -r1.1550 src/distrib/sets/lists/man/mi

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



CVS commit: src/lib/libc/gen

2017-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Mar  6 09:24:09 UTC 2017

Modified Files:
src/lib/libc/gen: realpath.3

Log Message:
Improve grammar.  Pointed out by Timo Buhrmester on netbsd-docs list.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/gen/realpath.3

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



CVS commit: src/sys

2017-03-06 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Mar  6 09:59:05 UTC 2017

Modified Files:
src/sys/netipsec: ipsec_netbsd.c
src/sys/opencrypto: cryptodev.h

Log Message:
add sysctl to select software/hardware encryption driver. can enable 
CRYPTO_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/netipsec/ipsec_netbsd.c
cvs rdiff -u -r1.28 -r1.29 src/sys/opencrypto/cryptodev.h

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



CVS commit: src/share/man/man4

2017-03-06 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Mar  6 10:00:14 UTC 2017

Modified Files:
src/share/man/man4: ipsec.4

Log Message:
add "net.inet.ipsec.crypto_support" man


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/share/man/man4/ipsec.4

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



CVS commit: src/sys/kern

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:07:52 UTC 2017

Modified Files:
src/sys/kern: vfs_vnode.c

Log Message:
Change vrecycle() and vgone() to lock with LK_RETRY.  If this node is
a layerfs node the lower node(s) may already be reclaimed.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/kern/vfs_vnode.c

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



CVS commit: src/sys/fs/union

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:08:49 UTC 2017

Modified Files:
src/sys/fs/union: union_vnops.c

Log Message:
Handle v_writecount from union_open(), union_close() and union_revoke()
so lower file system vnodes get marked as open for writing.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/fs/union/union_vnops.c

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



CVS commit: src/sys

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:10:07 UTC 2017

Modified Files:
src/sys/fs/union: union_vfsops.c
src/sys/miscfs/nullfs: null_vfsops.c
src/sys/miscfs/overlay: overlay_vfsops.c
src/sys/miscfs/umapfs: umap_vfsops.c
src/sys/sys: mount.h param.h

Log Message:
Add field "mnt_lower" to "struct mount" to track the file system
a layered file system is mounted on.

Welcome to 7.99.65


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/fs/union/union_vfsops.c
cvs rdiff -u -r1.91 -r1.92 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -u -r1.64 -r1.65 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -u -r1.96 -r1.97 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -u -r1.220 -r1.221 src/sys/sys/mount.h
cvs rdiff -u -r1.531 -r1.532 src/sys/sys/param.h

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



CVS commit: src/sys/kern

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:10:43 UTC 2017

Modified Files:
src/sys/kern: vfs_mount.c

Log Message:
Deny unmounting file systems below layered file systems.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/vfs_mount.c

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



CVS commit: src/sys/kern

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:11:21 UTC 2017

Modified Files:
src/sys/kern: vfs_mount.c vfs_trans.c

Log Message:
Always use the lowest mount for fstrans and suspend.  This way we
enter/leave or suspend/resume the stack of layered file systems as a unit.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.38 -r1.39 src/sys/kern/vfs_trans.c

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



CVS commit: src/sys/ufs/ffs

2017-03-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Mar  6 10:12:00 UTC 2017

Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c

Log Message:
Adapt the test "enable WAPBL on rw mounts only" to the recent change of
the protocol to update a mounted file.

Should fix PR kern/52031 (FFS mount update doesn't play nice with WAPBL)


To generate a diff of this commit:
cvs rdiff -u -r1.348 -r1.349 src/sys/ufs/ffs/ffs_vfsops.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/arm/include

2017-03-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Mar  6 11:10:23 UTC 2017

Modified Files:
src/sys/arch/arm/include: cpu.h

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/arm/include/cpu.h

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



CVS commit: src/share/man/man4

2017-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Mar  6 11:34:54 UTC 2017

Modified Files:
src/share/man/man4: pxaip.4

Log Message:
Some minor edits:

s/a on-board/an on-board/
use "serial comma"
s/bus/controller/
add attribution for author of the manual page


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/pxaip.4

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



CVS commit: src/usr.bin/xlint/lint1

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 11:58:31 UTC 2017

Modified Files:
src/usr.bin/xlint/lint1: cgram.y

Log Message:
handle typeof in casts


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/xlint/lint1/cgram.y

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



CVS commit: src/tests/usr.bin/xlint/lint1

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 12:00:27 UTC 2017

Modified Files:
src/tests/usr.bin/xlint/lint1: Makefile
Added Files:
src/tests/usr.bin/xlint/lint1: d_cast_typeof.c

Log Message:
add a test for a typeof cast


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/usr.bin/xlint/lint1/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/xlint/lint1/d_cast_typeof.c

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



CVS commit: src/distrib/sets/lists/tests

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 12:01:47 UTC 2017

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
add new lint test


To generate a diff of this commit:
cvs rdiff -u -r1.725 -r1.726 src/distrib/sets/lists/tests/mi

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



CVS commit: src/distrib/sets/lists/man

2017-03-06 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Mar  6 13:14:25 UTC 2017

Modified Files:
src/distrib/sets/lists/man: mi

Log Message:
fix set lists for pxaip(4). it's not a pmax man page.


To generate a diff of this commit:
cvs rdiff -u -r1.1550 -r1.1551 src/distrib/sets/lists/man/mi

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



CVS commit: src/external/mit/xorg/lib/libdrm

2017-03-06 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Mar  6 13:50:40 UTC 2017

Modified Files:
src/external/mit/xorg/lib/libdrm: Makefile.defines

Log Message:
We do HAVE_NOUVEAU. so use it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libdrm/Makefile.defines

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

2017-03-06 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Mon Mar  6 16:49:26 UTC 2017

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

Log Message:
print out the actual stride value


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/pm3fb.c

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



CVS commit: src/share/man/man4

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Mar  6 17:19:21 UTC 2017

Modified Files:
src/share/man/man4: ipsec.4

Log Message:
bump date, improve english


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/share/man/man4/ipsec.4

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



CVS commit: src/usr.bin/xlint/lint1

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 21:01:39 UTC 2017

Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h scan.l tree.c

Log Message:
fix typeof, add __builtin_offsetof


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.78 -r1.79 src/usr.bin/xlint/lint1/scan.l
cvs rdiff -u -r1.83 -r1.84 src/usr.bin/xlint/lint1/tree.c

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



CVS commit: src/tests/usr.bin/xlint/lint1

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 21:02:47 UTC 2017

Modified Files:
src/tests/usr.bin/xlint/lint1: Makefile d_cast_typeof.c

Log Message:
add builtin_offsetof


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tests/usr.bin/xlint/lint1/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/d_cast_typeof.c

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



CVS commit: src/distrib/sets/lists/tests

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 21:03:56 UTC 2017

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
more lint tests


To generate a diff of this commit:
cvs rdiff -u -r1.726 -r1.727 src/distrib/sets/lists/tests/mi

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



CVS commit: src/share/man/man4

2017-03-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Mar  6 22:29:35 UTC 2017

Modified Files:
src/share/man/man4: pxaip.4

Log Message:
Use more macros.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/pxaip.4

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



CVS commit: src/usr.bin/xlint/lint1

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 23:04:52 UTC 2017

Modified Files:
src/usr.bin/xlint/lint1: decl.c

Log Message:
Accept PTR for addtype


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.bin/xlint/lint1/decl.c

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



CVS commit: src/tests/usr.bin/xlint/lint1

2017-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  6 23:07:42 UTC 2017

Added Files:
src/tests/usr.bin/xlint/lint1: d_bltinoffsetof.c

Log Message:
new test


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/xlint/lint1/d_bltinoffsetof.c

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



CVS commit: xsrc/external/mit/libdrm/dist/intel

2017-03-06 Thread Christos Zoulas
Module Name:xsrc
Committed By:   christos
Date:   Mon Mar  6 23:11:39 UTC 2017

Modified Files:
xsrc/external/mit/libdrm/dist/intel: uthash.h

Log Message:
add lint to the bogus test for 


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 xsrc/external/mit/libdrm/dist/intel/uthash.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/ic

2017-03-06 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Mar  7 01:28:37 UTC 2017

Modified Files:
src/sys/dev/ic: cs89x0.c

Log Message:
Apply deferred if_start (from maya@)

Fix PR kern/52023


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/ic/cs89x0.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

2017-03-06 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Mar  7 01:32:03 UTC 2017

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

Log Message:
Add missing splnet to if_deferred_start_common

if_start should run in splnet to avoid running interrupt handlers.


To generate a diff of this commit:
cvs rdiff -u -r1.381 -r1.382 src/sys/net/if.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

2017-03-06 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Mar  7 01:53:53 UTC 2017

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

Log Message:
Remove unnecessary splnet for bridge_enqueue

bridge_enqueue now uses if_transmit_lock that does splnet for device
drivers, so splnet for bridge_enqueue isn't needed anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/net/if_bridge.c

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



CVS commit: [netbsd-6-0] src/libexec/httpd

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  7 07:16:09 UTC 2017

Modified Files:
src/libexec/httpd [netbsd-6-0]: CHANGES bozohttpd.8 bozohttpd.c
bozohttpd.h cgi-bozo.c content-bozo.c main.c
src/libexec/httpd/libbozohttpd [netbsd-6-0]: libbozohttpd.3
src/libexec/httpd/small [netbsd-6-0]: Makefile
src/libexec/httpd/testsuite [netbsd-6-0]: Makefile html_cmp
test-bigfile
Added Files:
src/libexec/httpd/testsuite [netbsd-6-0]: t11.in t11.out test-simple
src/libexec/httpd/testsuite/cgi-bin [netbsd-6-0]: empty

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1437):
libexec/httpd/CHANGES: up to 1.25
libexec/httpd/bozohttpd.8: up to 1.65
libexec/httpd/bozohttpd.c: up to 1.86
libexec/httpd/bozohttpd.h: up to 1.47
libexec/httpd/cgi-bozo.c: up to 1.37
libexec/httpd/content-bozo.c: up to 1.14
libexec/httpd/libbozohttpd/libbozohttpd.3: up to 1.4
libexec/httpd/main.c: up to 1.16
libexec/httpd/small/Makefile: up to 1.3
libexec/httpd/testsuite/Makefile: up to 1.7
libexec/httpd/testsuite/cgi-bin/empty: up to 1.1
libexec/httpd/testsuite/html_cmp: up to 1.5
libexec/httpd/testsuite/t11.in: up to 1.1
libexec/httpd/testsuite/t11.out: up to 1.1
libexec/httpd/testsuite/test-bigfile: up to 1.4
libexec/httpd/testsuite/test-simple: up to 1.4
Update bozohttpd to 20170201.  Changes:
- fix an infinite loop in cgi processing
- fixes and clean up for the testsuite
- no longer sends encoding header for compressed formats
- add a bozo_get_version() function which returns the version number


To generate a diff of this commit:
cvs rdiff -u -r1.11.6.2 -r1.11.6.3 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.32.6.2 -r1.32.6.3 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.30.6.2 -r1.30.6.3 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.20.6.2 -r1.20.6.3 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.20.8.3 -r1.20.8.4 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.7.8.2 -r1.7.8.3 src/libexec/httpd/content-bozo.c
cvs rdiff -u -r1.5.8.2 -r1.5.8.3 src/libexec/httpd/main.c
cvs rdiff -u -r1.1.1.1.14.1 -r1.1.1.1.14.2 \
src/libexec/httpd/libbozohttpd/libbozohttpd.3
cvs rdiff -u -r1.1.1.1.14.1 -r1.1.1.1.14.2 src/libexec/httpd/small/Makefile
cvs rdiff -u -r1.4.14.1 -r1.4.14.2 src/libexec/httpd/testsuite/Makefile
cvs rdiff -u -r1.4 -r1.4.8.1 src/libexec/httpd/testsuite/html_cmp
cvs rdiff -u -r0 -r1.1.6.2 src/libexec/httpd/testsuite/t11.in \
src/libexec/httpd/testsuite/t11.out
cvs rdiff -u -r1.1.1.1.14.1 -r1.1.1.1.14.2 \
src/libexec/httpd/testsuite/test-bigfile
cvs rdiff -u -r0 -r1.4.2.2 src/libexec/httpd/testsuite/test-simple
cvs rdiff -u -r0 -r1.1.6.2 src/libexec/httpd/testsuite/cgi-bin/empty

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



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

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  7 07:16:38 UTC 2017

Modified Files:
src/doc [netbsd-6-0]: CHANGES-6.0.7

Log Message:
1441, 1437


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.84 -r1.1.2.85 src/doc/CHANGES-6.0.7

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



CVS commit: [netbsd-6-1] src/libexec/httpd

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  7 07:21:54 UTC 2017

Modified Files:
src/libexec/httpd [netbsd-6-1]: CHANGES bozohttpd.8 bozohttpd.c
bozohttpd.h cgi-bozo.c content-bozo.c main.c
src/libexec/httpd/libbozohttpd [netbsd-6-1]: libbozohttpd.3
src/libexec/httpd/small [netbsd-6-1]: Makefile
src/libexec/httpd/testsuite [netbsd-6-1]: Makefile html_cmp
test-bigfile
Added Files:
src/libexec/httpd/testsuite [netbsd-6-1]: t11.in t11.out test-simple
src/libexec/httpd/testsuite/cgi-bin [netbsd-6-1]: empty

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1437:
libexec/httpd/CHANGES: up to 1.25
libexec/httpd/bozohttpd.8: up to 1.65
libexec/httpd/bozohttpd.c: up to 1.86
libexec/httpd/bozohttpd.h: up to 1.47
libexec/httpd/cgi-bozo.c: up to 1.37
libexec/httpd/content-bozo.c: up to 1.14
libexec/httpd/libbozohttpd/libbozohttpd.3: up to 1.4
libexec/httpd/main.c: up to 1.16
libexec/httpd/small/Makefile: up to 1.3
libexec/httpd/testsuite/Makefile: up to 1.7
libexec/httpd/testsuite/cgi-bin/empty: up to 1.1
libexec/httpd/testsuite/html_cmp: up to 1.5
libexec/httpd/testsuite/t11.in: up to 1.1
libexec/httpd/testsuite/t11.out: up to 1.1
libexec/httpd/testsuite/test-bigfile: up to 1.4
libexec/httpd/testsuite/test-simple: up to 1.4
Update bozohttpd to 20170201.  Changes:
- fix an infinite loop in cgi processing
- fixes and clean up for the testsuite
- no longer sends encoding header for compressed formats
- add a bozo_get_version() function which returns the version number


To generate a diff of this commit:
cvs rdiff -u -r1.11.8.2 -r1.11.8.3 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.32.8.2 -r1.32.8.3 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.30.8.2 -r1.30.8.3 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.20.8.2 -r1.20.8.3 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.20.14.3 -r1.20.14.4 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.7.14.2 -r1.7.14.3 src/libexec/httpd/content-bozo.c
cvs rdiff -u -r1.5.14.2 -r1.5.14.3 src/libexec/httpd/main.c
cvs rdiff -u -r1.1.1.1.20.1 -r1.1.1.1.20.2 \
src/libexec/httpd/libbozohttpd/libbozohttpd.3
cvs rdiff -u -r1.1.1.1.20.1 -r1.1.1.1.20.2 src/libexec/httpd/small/Makefile
cvs rdiff -u -r1.4.20.1 -r1.4.20.2 src/libexec/httpd/testsuite/Makefile
cvs rdiff -u -r1.4 -r1.4.14.1 src/libexec/httpd/testsuite/html_cmp
cvs rdiff -u -r0 -r1.1.8.2 src/libexec/httpd/testsuite/t11.in \
src/libexec/httpd/testsuite/t11.out
cvs rdiff -u -r1.1.1.1.20.1 -r1.1.1.1.20.2 \
src/libexec/httpd/testsuite/test-bigfile
cvs rdiff -u -r0 -r1.4.4.2 src/libexec/httpd/testsuite/test-simple
cvs rdiff -u -r0 -r1.1.8.2 src/libexec/httpd/testsuite/cgi-bin/empty

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



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

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  7 07:22:48 UTC 2017

Modified Files:
src/doc [netbsd-6-1]: CHANGES-6.1.6

Log Message:
1441, 1437


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.82 -r1.1.2.83 src/doc/CHANGES-6.1.6

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



CVS commit: [netbsd-6] src/libexec/httpd

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  7 07:25:19 UTC 2017

Modified Files:
src/libexec/httpd [netbsd-6]: CHANGES bozohttpd.8 bozohttpd.c
bozohttpd.h cgi-bozo.c content-bozo.c main.c
src/libexec/httpd/libbozohttpd [netbsd-6]: libbozohttpd.3
src/libexec/httpd/small [netbsd-6]: Makefile
src/libexec/httpd/testsuite [netbsd-6]: Makefile html_cmp test-bigfile
Added Files:
src/libexec/httpd/testsuite [netbsd-6]: t11.in t11.out test-simple
src/libexec/httpd/testsuite/cgi-bin [netbsd-6]: empty

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1437):
libexec/httpd/CHANGES: up to 1.25
libexec/httpd/bozohttpd.8: up to 1.65
libexec/httpd/bozohttpd.c: up to 1.86
libexec/httpd/bozohttpd.h: up to 1.47
libexec/httpd/cgi-bozo.c: up to 1.37
libexec/httpd/content-bozo.c: up to 1.14
libexec/httpd/libbozohttpd/libbozohttpd.3: up to 1.4
libexec/httpd/main.c: up to 1.16
libexec/httpd/small/Makefile: up to 1.3
libexec/httpd/testsuite/Makefile: up to 1.7
libexec/httpd/testsuite/cgi-bin/empty: up to 1.1
libexec/httpd/testsuite/html_cmp: up to 1.5
libexec/httpd/testsuite/t11.in: up to 1.1
libexec/httpd/testsuite/t11.out: up to 1.1
libexec/httpd/testsuite/test-bigfile: up to 1.4
libexec/httpd/testsuite/test-simple: up to 1.4
Update bozohttpd to 20170201.  Changes:
- fix an infinite loop in cgi processing
- fixes and clean up for the testsuite
- no longer sends encoding header for compressed formats
- add a bozo_get_version() function which returns the version number


To generate a diff of this commit:
cvs rdiff -u -r1.11.2.2 -r1.11.2.3 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.32.2.2 -r1.32.2.3 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.30.2.3 -r1.30.2.4 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.20.2.2 -r1.20.2.3 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.20.2.3 -r1.20.2.4 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.7.2.2 -r1.7.2.3 src/libexec/httpd/content-bozo.c
cvs rdiff -u -r1.5.2.2 -r1.5.2.3 src/libexec/httpd/main.c
cvs rdiff -u -r1.1.1.1.8.1 -r1.1.1.1.8.2 \
src/libexec/httpd/libbozohttpd/libbozohttpd.3
cvs rdiff -u -r1.1.1.1.8.1 -r1.1.1.1.8.2 src/libexec/httpd/small/Makefile
cvs rdiff -u -r1.4.8.1 -r1.4.8.2 src/libexec/httpd/testsuite/Makefile
cvs rdiff -u -r1.4 -r1.4.2.1 src/libexec/httpd/testsuite/html_cmp
cvs rdiff -u -r0 -r1.1.10.2 src/libexec/httpd/testsuite/t11.in \
src/libexec/httpd/testsuite/t11.out
cvs rdiff -u -r1.1.1.1.8.1 -r1.1.1.1.8.2 \
src/libexec/httpd/testsuite/test-bigfile
cvs rdiff -u -r0 -r1.4.6.2 src/libexec/httpd/testsuite/test-simple
cvs rdiff -u -r0 -r1.1.10.2 src/libexec/httpd/testsuite/cgi-bin/empty

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



CVS commit: [netbsd-6] src/doc

2017-03-06 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  7 07:25:56 UTC 2017

Modified Files:
src/doc [netbsd-6]: CHANGES-6.2

Log Message:
1441, 1437


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.273 -r1.1.2.274 src/doc/CHANGES-6.2

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