CVS commit: src/sys/arch/hppa/hppa

2015-03-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar  2 11:05:12 UTC 2015

Modified Files:
src/sys/arch/hppa/hppa: trap.c

Log Message:
Send SIGBUS when accessing mmap() past end of file (handle EINVAL in fault
path). While there, handle ENOMEM as well.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/hppa/hppa/trap.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/alpha/alpha

2015-03-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar  2 11:07:16 UTC 2015

Modified Files:
src/sys/arch/alpha/alpha: trap.c

Log Message:
Handle EINVAL in fault path, so mmap() access past EOF gets SIGBUS.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/sys/arch/alpha/alpha/trap.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/cortex

2015-03-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Mar  2 11:37:25 UTC 2015

Modified Files:
src/sys/arch/arm/cortex: gic.c

Log Message:
sc_gic_lines is the total number of valid lines but pic_sources[] is sparse; 
when initializing mpsafe targets make sure to go all the way to the end 
(sc_pic.pic_maxsources) instead


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/cortex/gic.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

2015-03-02 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Mon Mar  2 12:07:27 UTC 2015

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

Log Message:
Correctly set lowest_present_ofdm in iwm_mvm_ack_rates().
>From OpenBSD rev.1.23.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/if_iwm.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/arm32

2015-03-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar  2 13:36:36 UTC 2015

Modified Files:
src/sys/arch/arm/arm32: fault.c

Log Message:
Handle EINVAL in the fault path and send SIGBUS for mmap acces past EOF.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/arm/arm32/fault.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/sparc64/sparc64

2015-03-02 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Mon Mar  2 13:48:00 UTC 2015

Modified Files:
src/sys/arch/sparc64/sparc64: locore.s

Log Message:
Use panic stack temporarily for calling prom_printf in a trap
handler.

It seems that openfirmware cannot handle over 4GB pointers, and
stack pointers may point to over 4GB since VA layout was rearranged
by rev 1.33 of vmparam.h.  Therefore, use panic stack to avoid
panicking in OF_write used by prom_printf.


To generate a diff of this commit:
cvs rdiff -u -r1.378 -r1.379 src/sys/arch/sparc64/sparc64/locore.s

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



CVS commit: src/usr.sbin/makemandb

2015-03-02 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Mar  2 13:51:24 UTC 2015

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

Log Message:
Explicitly deal with end of lists. PR 49708.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/makemandb/makemandb.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/sparc/sparc

2015-03-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar  2 13:53:19 UTC 2015

Modified Files:
src/sys/arch/sparc/sparc: trap.c

Log Message:
Handle EINVAL in the fault path, send SIGSEGV on mmap access past EOF.


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/sys/arch/sparc/sparc/trap.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/sparc64/sparc64

2015-03-02 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Mon Mar  2 13:58:55 UTC 2015

Modified Files:
src/sys/arch/sparc64/sparc64: locore.s

Log Message:
PANICSTACK is a pointer itself, not a pointer to pointer.


To generate a diff of this commit:
cvs rdiff -u -r1.379 -r1.380 src/sys/arch/sparc64/sparc64/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/sparc64

2015-03-02 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Mon Mar  2 14:17:06 UTC 2015

Modified Files:
src/sys/arch/sparc64/dev: consinit.c
src/sys/arch/sparc64/sparc64: db_tlb_access.S locore.s ofw_machdep.c

Log Message:
prom_printf converts "\n" to "\r\n" internally, so omit "\r".


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/sparc64/dev/consinit.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/sparc64/db_tlb_access.S
cvs rdiff -u -r1.380 -r1.381 src/sys/arch/sparc64/sparc64/locore.s
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/sparc64/sparc64/ofw_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/dev/pci

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 15:26:57 UTC 2015

Modified Files:
src/sys/dev/pci: amr.c amrvar.h ld_amr.c

Log Message:
>From Tom Ivar Helbekkmo:

- Use mutexes and condvars instead of spl() calls.
- Add a couple of bugfixes from FreeBSD (the easily observed ones).
- Add a simple watchdog thread for the newer versions of the hardware,
  that tickles the controller at task submission time if it seems not ready
  (from FreeBSD).
- Add a buffer allocation size hack to the ioctl handler, to work around
  a firmware bug in some versions of the controller (also from FreeBSD).
- Rearrange the bus_dmamap_sync() calls to make the use match the
  documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/pci/amr.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/amrvar.h
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/ld_amr.c

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



CVS commit: src/sys/sys

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 16:16:08 UTC 2015

Modified Files:
src/sys/sys: mbuf.h

Log Message:
Add more zeroes in the constants, no functional change


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/sys/mbuf.h

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2015-03-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Mar  2 17:30:17 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.c

Log Message:
Make sure wedged actually gets set on all code paths.

Otherwise GCC helpfully realizes we're invoking undefined behaviour
and optimizes away the possibility that this routine will return
success, without saying a word about it.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c

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



CVS commit: src/sys/external/bsd/drm2/drm

2015-03-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Mar  2 17:34:23 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/drm: drm_vma_manager.c

Log Message:
Don't sleep in the drm_vma allocator.  Fail with ENOSPC, not ENOMEM.

Caller has dev->struct_mutex locked and will handle ENOSPC anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/drm2/drm/drm_vma_manager.c

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/radeon

2015-03-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Mar  2 17:53:00 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/radeon: radeon_fence.c

Log Message:
Return the error if there is one in radeon_fence_wait_seq.

Don't just always say we succeeded!


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2015-03-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Mar  2 18:36:49 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: intel_i2c.c

Log Message:
Drop the gmbus wait lock to delay.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c

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



CVS commit: src/lib/libc/sys

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 19:24:19 UTC 2015

Modified Files:
src/lib/libc/sys: kqueue.2

Log Message:
say that we put the exit code in data.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/sys/kqueue.2

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



CVS commit: src/sys/kern

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 19:24:54 UTC 2015

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

Log Message:
put the exit code of the process in data, like FreeBSD does.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/kern/kern_event.c

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



CVS commit: src/usr.bin/pwait

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 21:43:39 UTC 2015

Added Files:
src/usr.bin/pwait: Makefile pwait.1 pwait.c

Log Message:
Add pwait, from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/usr.bin/pwait/Makefile src/usr.bin/pwait/pwait.1 \
src/usr.bin/pwait/pwait.c

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2015-03-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Mar  2 21:52:02 UTC 2015

Modified Files:
src/sys/dev/usb [nick-nhusb]: ehci.c ehcivar.h

Log Message:
ex_isdone / ux_state tidyup


To generate a diff of this commit:
cvs rdiff -u -r1.234.2.34 -r1.234.2.35 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.42.14.9 -r1.42.14.10 src/sys/dev/usb/ehcivar.h

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



CVS commit: src/usr.bin/pwait

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 21:53:48 UTC 2015

Modified Files:
src/usr.bin/pwait: pwait.1 pwait.c

Log Message:
Add -s option, cleanup warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/pwait/pwait.1 src/usr.bin/pwait/pwait.c

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



CVS commit: src/usr.bin

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 21:54:13 UTC 2015

Modified Files:
src/usr.bin: Makefile

Log Message:
add pwait


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/usr.bin/Makefile

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

2015-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 21:55:45 UTC 2015

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

Log Message:
add pwait.


To generate a diff of this commit:
cvs rdiff -u -r1.1096 -r1.1097 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1495 -r1.1496 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: [nick-nhusb] src/sys/dev/usb

2015-03-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Mar  2 22:16:38 UTC 2015

Modified Files:
src/sys/dev/usb [nick-nhusb]: ehci.c

Log Message:
Simplify - no functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.234.2.35 -r1.234.2.36 src/sys/dev/usb/ehci.c

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2015-03-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Mar  2 23:05:03 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: intel_i2c.c

Log Message:
Narrow the scope of the gmbus wait lock to where we need it.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c

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



CVS commit: src/sys/external/bsd/drm2/dist/drm/radeon

2015-03-02 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Mar  2 23:29:56 UTC 2015

Modified Files:
src/sys/external/bsd/drm2/dist/drm/radeon: radeon_fence.c

Log Message:
Replace `out' label by break.

Reduces diff from upstream a little.

No functional change, confirmed by diffing `objdump -dr' output.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c

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



CVS commit: src/lib/librumphijack

2015-03-02 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Tue Mar  3 00:19:07 UTC 2015

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Hijack utimensat(2) so that t_vfs test passes after cp(1)/mv(1) are
changed to use the system call.  Linux also has this system call, but
not tested this on linux.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/lib/librumphijack/hijack.c

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




CVS commit: src/bin/cp

2015-03-02 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Tue Mar  3 00:20:38 UTC 2015

Modified Files:
src/bin/cp: utils.c

Log Message:
Fix the name of failed function in warning message.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/bin/cp/utils.c

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



CVS commit: src/lib/librumphijack

2015-03-02 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Tue Mar  3 01:24:39 UTC 2015

Modified Files:
src/lib/librumphijack: hijack.c

Log Message:
Also hijack futimens(2) so that t_sh test passes.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/lib/librumphijack/hijack.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/MesaLib/dist/src/gbm/backends/dri

2015-03-02 Thread Christos Zoulas
Module Name:xsrc
Committed By:   christos
Date:   Tue Mar  3 02:27:24 UTC 2015

Modified Files:
xsrc/external/mit/MesaLib/dist/src/gbm/backends/dri: gbm_dri.c

Log Message:
void function can't return value.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/gbm/backends/dri/gbm_dri.c

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2015-03-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Mar  3 06:23:43 UTC 2015

Modified Files:
src/sys/dev/usb [nick-nhusb]: uhci.c

Log Message:
Whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.264.4.21 -r1.264.4.22 src/sys/dev/usb/uhci.c

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2015-03-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Mar  3 06:36:53 UTC 2015

Modified Files:
src/sys/dev/usb [nick-nhusb]: ehci.c ehcireg.h

Log Message:
Improve EHCI_PAGE macros and usage.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.234.2.36 -r1.234.2.37 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.34.14.4 -r1.34.14.5 src/sys/dev/usb/ehcireg.h

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



CVS commit: [netbsd-7] src

2015-03-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  3 07:11:08 UTC 2015

Modified Files:
src/doc [netbsd-7]: 3RDPARTY
src/external/ibm-public/postfix/dist [netbsd-7]: HISTORY
src/external/ibm-public/postfix/dist/src/cleanup [netbsd-7]:
cleanup_map1n.c
src/external/ibm-public/postfix/dist/src/global [netbsd-7]:
mail_version.h tok822_tree.c
src/external/ibm-public/postfix/dist/src/postconf [netbsd-7]:
postconf_master.c
src/external/ibm-public/postfix/dist/src/smtp [netbsd-7]:
smtp_tls_policy.c

Log Message:
Apply patch (requested by tron in ticket #556):
Update Postfix to 2.11.4.


To generate a diff of this commit:
cvs rdiff -u -r1.1145.2.8 -r1.1145.2.9 src/doc/3RDPARTY
cvs rdiff -u -r1.1.1.21.2.1 -r1.1.1.21.2.2 \
src/external/ibm-public/postfix/dist/HISTORY
cvs rdiff -u -r1.1.1.4 -r1.1.1.4.2.1 \
src/external/ibm-public/postfix/dist/src/cleanup/cleanup_map1n.c
cvs rdiff -u -r1.1.1.21.2.1 -r1.1.1.21.2.2 \
src/external/ibm-public/postfix/dist/src/global/mail_version.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.28.1 \
src/external/ibm-public/postfix/dist/src/global/tok822_tree.c
cvs rdiff -u -r1.3 -r1.3.2.1 \
src/external/ibm-public/postfix/dist/src/postconf/postconf_master.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.4.1 \
src/external/ibm-public/postfix/dist/src/smtp/smtp_tls_policy.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/sys/dev/ic

2015-03-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue Mar  3 07:14:03 UTC 2015

Modified Files:
src/sys/dev/ic [netbsd-7]: tulip.c

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #558):
sys/dev/ic/tulip.c: revision 1.185
Stop the interface before detaching to avoid the race between
tlp_detach() and tlp_intr().
While there, add missing callout_destroy()s.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.184.2.1 src/sys/dev/ic/tulip.c

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



CVS commit: src/doc

2015-03-02 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Tue Mar  3 07:32:56 UTC 2015

Modified Files:
src/doc: CHANGES CHANGES.prev

Log Message:
Postfix 2.11.4 will ship with NetBSD 7.0.


To generate a diff of this commit:
cvs rdiff -u -r1.2048 -r1.2049 src/doc/CHANGES
cvs rdiff -u -r1.125 -r1.126 src/doc/CHANGES.prev

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