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

2015-01-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jan 12 09:14:45 UTC 2015

Modified Files:
src/sys/arch/hppa/include: ieeefp.h

Log Message:
use unsigned over uint32_t so that this file works without stdint.h
being included before hand.

fixes mknative-gcc problems, and likely others.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/include/ieeefp.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

2015-01-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Jan 12 09:51:26 UTC 2015

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

Log Message:
Fix table. Based on diff by Henning Petersen in PR 49514.


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

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



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

2015-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 12 10:02:30 UTC 2015

Modified Files:
src/libexec/httpd [netbsd-7]: auth-bozo.c bozohttpd.8 bozohttpd.c
bozohttpd.h content-bozo.c dir-index-bozo.c lua-bozo.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #408):
libexec/httpd/content-bozo.c: revision 1.11
libexec/httpd/dir-index-bozo.c: revision 1.20
libexec/httpd/bozohttpd.h: revision 1.34
libexec/httpd/bozohttpd.c: revision 1.57
libexec/httpd/bozohttpd.8: revision 1.47
libexec/httpd/bozohttpd.c: revision 1.58
libexec/httpd/bozohttpd.8: revision 1.48
libexec/httpd/bozohttpd.c: revision 1.59
libexec/httpd/lua-bozo.c: revision 1.11
libexec/httpd/bozohttpd.c: revision 1.60
libexec/httpd/auth-bozo.c: revision 1.14
libexec/httpd/auth-bozo.c: revision 1.15
libexec/httpd/auth-bozo.c: revision 1.16

Update bozohttpd to 20141225:
- NUL terminate a string.
- don't truncate file sizes to 32 bits for directory indexes.
- Fixed off-by-one in virtualhost processing. Previous code was
  checking if Host header is a prefix of any existing vhost.
  This behaviour might be used to uncover existing vitual hosts
  from the remote.
- Fixed memory leak in case of multiple authentication headers sent
  by the client.
- Avoid array access out of bounds.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.2.1 src/libexec/httpd/auth-bozo.c
cvs rdiff -u -r1.46 -r1.46.4.1 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.56 -r1.56.2.1 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.33 -r1.33.2.1 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.10 -r1.10.2.1 src/libexec/httpd/content-bozo.c \
src/libexec/httpd/lua-bozo.c
cvs rdiff -u -r1.19 -r1.19.4.1 src/libexec/httpd/dir-index-bozo.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

2015-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 12 10:22:22 UTC 2015

Modified Files:
src/distrib/sets/lists/base [netbsd-7]: mi
src/distrib/sets/lists/debug [netbsd-7]: mi
src/distrib/sets/lists/man [netbsd-7]: mi
src/usr.bin [netbsd-7]: Makefile
Added Files:
src/usr.bin/midirecord [netbsd-7]: Makefile midirecord.1 midirecord.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #409):
usr.bin/midirecord/Makefile: revision 1.1
usr.bin/midirecord/midirecord.1: revision 1.1-1.3
usr.bin/midirecord/midirecord.c: revision 1.1-1.6
usr.bin/Makefile: revision 1.219
distrib/sets/lists/base/mi: revision 1.1093
distrib/sets/lists/man/mi: revision 1.1492
distrib/sets/lists/debug/mi: revision 1.98
Add midirecord.


To generate a diff of this commit:
cvs rdiff -u -r1.1087.2.1 -r1.1087.2.2 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.81.2.1 -r1.81.2.2 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.1485.2.4 -r1.1485.2.5 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.218 -r1.218.2.1 src/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/usr.bin/midirecord/Makefile
cvs rdiff -u -r0 -r1.3.2.2 src/usr.bin/midirecord/midirecord.1
cvs rdiff -u -r0 -r1.6.2.2 src/usr.bin/midirecord/midirecord.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/marvell

2015-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 12 10:27:10 UTC 2015

Modified Files:
src/sys/dev/marvell [netbsd-7]: if_gfe.c

Log Message:
Pull up following revision(s) (requested by joerg in ticket #410):
sys/dev/marvell/if_gfe.c: revision 1.44
sizeof doesn't evaluate the expression, so increment of rxd doesn't
happen. Move it out.


To generate a diff of this commit:
cvs rdiff -u -r1.42.2.1 -r1.42.2.2 src/sys/dev/marvell/if_gfe.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/doc

2015-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 12 10:27:57 UTC 2015

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

Log Message:
Tickets #308 - #310


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.159 -r1.1.2.160 src/doc/CHANGES-7.0

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



CVS commit: src/usr.bin/ftp

2015-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 12 14:17:08 UTC 2015

Modified Files:
src/usr.bin/ftp: ftp_var.h

Log Message:
Increase the buffer limit; otherwise files in:

http://www.taxdetective.ca/Samples/sampledatafiles.html

fail.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/ftp/ftp_var.h

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

2015-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 12 16:34:39 UTC 2015

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

Log Message:
PR/49104: Jarle Greipsland: Don't touch cr4 in cpus that don't have it.
XXX: pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/x86/x86/cpu.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/usr.bin/audio/common

2015-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 12 19:15:27 UTC 2015

Modified Files:
src/usr.bin/audio/common [netbsd-7]: audio.c libaudio.h

Log Message:
Pull up following revision(s) (requested by mrg in ticket #409):
usr.bin/audio/common/audio.c: revision 1.23
usr.bin/audio/common/libaudio.h: revision 1.19
add a decode_uint() function.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.22.4.1 src/usr.bin/audio/common/audio.c
cvs rdiff -u -r1.18 -r1.18.4.1 src/usr.bin/audio/common/libaudio.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/doc

2015-01-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jan 12 19:18:22 UTC 2015

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

Log Message:
Ammend #409 for additional pullups (decode_uint)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.160 -r1.1.2.161 src/doc/CHANGES-7.0

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



CVS commit: src/distrib/amd64

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 19:40:48 UTC 2015

Added Files:
src/distrib/amd64: Makefile

Log Message:
Restore unintentionally deleted file, which prevented building of any
install media.  PR port-amd64/49558.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.9 src/distrib/amd64/Makefile

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



CVS commit: src/usr.sbin/makefs

2015-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 12 19:50:25 UTC 2015

Modified Files:
src/usr.sbin/makefs: ffs.c

Log Message:
PR/49559: Christian Brueffer: Fix typo maxbpf instead of maxbpg.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 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: src/usr.sbin/makefs

2015-01-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 12 19:50:47 UTC 2015

Modified Files:
src/usr.sbin/makefs: README

Log Message:
reflect reality about filesystems supported.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makefs/README

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/arch/sparc/stand/ofwboot

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 20:57:31 UTC 2015

Modified Files:
src/sys/arch/sparc/stand/ofwboot [netbsd-7]: Makefile

Log Message:
Pull up following revision(s) (requested by martin in ticket #411):
sys/arch/sparc/stand/ofwboot/Makefile: revision 1.33
Strip debug symbols from ofwboot.
The forth bootsector loading this file when booting from disk is
"simplistic" and does not skip non loadable sections. The five times
bigger file with debug info overruns some important memory contents
with some firmware versions otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.4.1 src/sys/arch/sparc/stand/ofwboot/Makefile

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/arch/arm/arm32

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 21:00:29 UTC 2015

Modified Files:
src/sys/arch/arm/arm32 [netbsd-7]: arm32_boot.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #412):
sys/arch/arm/arm32/arm32_boot.c: revision 1.12
use IPL_NONE for CPU attach message serialization mutex


To generate a diff of this commit:
cvs rdiff -u -r1.7.4.2 -r1.7.4.3 src/sys/arch/arm/arm32/arm32_boot.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/tests/lib/libc/gen

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 21:02:09 UTC 2015

Modified Files:
src/tests/lib/libc/gen [netbsd-7]: isqemu.h

Log Message:
Pull up following revision(s) (requested by gson in ticket #413):
tests/lib/libc/gen/isqemu.h: revision 1.4
Need stdlib.h for EXIT_FAILURE


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.10.1 src/tests/lib/libc/gen/isqemu.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/tests/lib/libm

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 21:03:09 UTC 2015

Modified Files:
src/tests/lib/libm [netbsd-7]: Makefile t_fmod.c

Log Message:
Pull up following revision(s) (requested by gson in ticket #413):
tests/lib/libm/Makefile: revision 1.31
tests/lib/libm/t_fmod.c: revision 1.3
Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.26.2.1 src/tests/lib/libm/Makefile
cvs rdiff -u -r1.2 -r1.2.6.1 src/tests/lib/libm/t_fmod.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/arch/x86/x86

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 21:06:42 UTC 2015

Modified Files:
src/sys/arch/x86/x86 [netbsd-7]: cpu.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #414):
sys/arch/x86/x86/cpu.c: revision 1.113
PR/49104: Jarle Greipsland: Don't touch cr4 in cpus that don't have it.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.111.2.1 src/sys/arch/x86/x86/cpu.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

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 21:15:12 UTC 2015

Modified Files:
src/share/man/man9 [netbsd-7]: sysmon_pswitch.9
src/sys/dev/pci [netbsd-7]: if_wpi.c if_wpivar.h
src/sys/dev/sysmon [netbsd-7]: sysmon_power.c
src/sys/sys [netbsd-7]: power.h

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #415):
share/man/man9/sysmon_pswitch.9: revision 1.6
sys/dev/pci/if_wpi.c: revision 1.70, 1.71
sys/dev/pci/if_wpivar.h: revision 1.19
sys/dev/sysmon/sysmon_power.c: revision 1.49
sys/sys/power.h: revision 1.20
As proposed on tech-net@, introduce a new switch type, PSWITCH_TYPE_RADIO,
to be used to report to userland hardware radio switch changes.
powerd(8) will call a "radio_button" script to handle the event.
This script can e.g. start or stop wpa_supplicant.
Update wpi(4) to report PSWITCH_TYPE_RADIO events to sysmon.
--
Take sc_rsw_mtx before calling wpi_getrfkill() from wpi_init(),
Problem reported and patch tested by chris at chriswareham.net


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.4.1 src/share/man/man9/sysmon_pswitch.9
cvs rdiff -u -r1.68.2.1 -r1.68.2.2 src/sys/dev/pci/if_wpi.c
cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/dev/pci/if_wpivar.h
cvs rdiff -u -r1.47 -r1.47.2.1 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.19 -r1.19.10.1 src/sys/sys/power.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/doc

2015-01-12 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Jan 12 21:18:46 UTC 2015

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

Log Message:
411-415


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.161 -r1.1.2.162 src/doc/CHANGES-7.0

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



CVS commit: src/external/zlib/pigz/dist

2015-01-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jan 13 02:36:22 UTC 2015

Modified Files:
src/external/zlib/pigz/dist: pigz.c

Log Message:
merge 
https://github.com/madler/pigz/commit/fdad1406b3ec809f4954ff7cdf9e99eb18c2458f

--
When decompressing with -N or -NT, strip any path from header name.

This uses the path of the compressed file combined with the name
from the header as the name of the decompressed output file.  Any
path information in the header name is stripped.  This avoids a
possible vulnerability where absolute or descending paths are put
in the gzip header.
--


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/zlib/pigz/dist/pigz.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/gzip

2015-01-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jan 13 02:37:20 UTC 2015

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

Log Message:
do not use directory paths present in gzip files with the -N flag,
similar to the problem reported in pigz.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/gzip/gzip.1
cvs rdiff -u -r1.106 -r1.107 src/usr.bin/gzip/gzip.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/ixgbe

2015-01-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Jan 13 03:11:34 UTC 2015

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

Log Message:
 Fix a legacy interrupt problem. If the INTx line was shared with another
device, the ixgbe_legacy_irq() enabled the interrupt even if the interface
was down. Check the interface state and call functions appropriately.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/ixgbe/ixgbe.c

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